rpms/isight-firmware-tools/devel isight-firmware-tools-1.0.2-open.patch, NONE, 1.1 isight-firmware-tools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Debarshi Ray (rishi)
fedora-extras-commits at redhat.com
Wed Mar 26 04:51:11 UTC 2008
- Previous message (by thread): rpms/postgresql/F-7 .cvsignore, 1.38, 1.39 postgresql.spec, 1.82, 1.83 sources, 1.39, 1.40
- Next message (by thread): rpms/gdm/devel gdm.spec, 1.350, 1.351 sources, 1.77, 1.78 gdm-2.21.9-fix-default-path.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rishi
Update of /cvs/pkgs/rpms/isight-firmware-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21602/devel
Modified Files:
.cvsignore sources
Added Files:
isight-firmware-tools-1.0.2-open.patch
isight-firmware-tools.spec
Log Message:
Initial import into devel.
Modified Files:
devel/.cvsignore devel/sources
Added Files:
devel/isight-firmware-tools-1.0.2-open.patch
devel/isight-firmware-tools.spec
isight-firmware-tools-1.0.2-open.patch:
--- NEW FILE isight-firmware-tools-1.0.2-open.patch ---
diff -urNp isight-firmware-tools-1.0.2.orig/src/export.c isight-firmware-tools-1.0.2/src/export.c
--- isight-firmware-tools-1.0.2.orig/src/export.c 2007-12-09 21:25:28.000000000 +0530
+++ isight-firmware-tools-1.0.2/src/export.c 2008-03-21 17:48:54.000000000 +0530
@@ -130,7 +130,8 @@ export(char *filename,
return -1;
}
- if ((fdo = open(output, O_WRONLY | O_CREAT | O_TRUNC)) == -1) {
+ if ((fdo = open(output, O_WRONLY | O_CREAT | O_TRUNC,
+ S_IRUSR | S_IWUSR)) == -1) {
g_error(_("Unable to open %s for writing."), output);
close (fdo);
return -1;
diff -urNp isight-firmware-tools-1.0.2.orig/src/extract.c isight-firmware-tools-1.0.2/src/extract.c
--- isight-firmware-tools-1.0.2.orig/src/extract.c 2008-02-01 16:58:27.000000000 +0530
+++ isight-firmware-tools-1.0.2/src/extract.c 2008-03-21 17:43:44.000000000 +0530
@@ -262,7 +262,8 @@ extract(char *filename,
return -1;
}
- if ((fdo = g_open(output, O_WRONLY | O_CREAT | O_TRUNC)) == -1) {
+ if ((fdo = g_open(output, O_WRONLY | O_CREAT | O_TRUNC,
+ S_IRUSR | S_IWUSR)) == -1) {
g_error(_("Unable to open %s for writing."), output);
close (fdo);
return -1;
--- NEW FILE isight-firmware-tools.spec ---
Summary: Firmware extraction tools for Apple Built-in iSight camera
Name: isight-firmware-tools
Version: 1.0.2
Release: 2%{dist}
License: GPLv2+
Group: System Environment/Base
URL: http://bersace03.free.fr/ift/
Source0: http://bersace03.free.fr/ift/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-open.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: udev
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: gettext
BuildRequires: glib2-devel
BuildRequires: libgcrypt-devel
BuildRequires: libusb-devel
BuildRequires: perl(XML::Parser)
%description
iSight Firmware Tools provide tools to manipulate firmware for Built-in iSight
cameras found on Apple machines since iMac G5 (November 2005).
%prep
%setup -q
%patch0 -p1
# Fix broken path.
sed --in-place --expression 's|@udevdir@|%{_libdir}/udev|g' isight.rules.in
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# Use %doc instead.
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/ift-export.info %{_infodir}/dir || :
/sbin/install-info %{_infodir}/ift-extract.info %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/ift-export.info %{_infodir}/dir || :
/sbin/install-info --delete %{_infodir}/ift-extract.info %{_infodir}/dir || :
fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/udev/rules.d/isight.rules
%doc AUTHORS
%doc ChangeLog
%doc COPYING
%doc HOWTO
%doc NEWS
%doc README
%{_bindir}/ift-export
%{_bindir}/ift-extract
%{_infodir}/ift-export.info.gz
%{_infodir}/ift-extract.info.gz
%{_libdir}/udev/ift-load
%{_mandir}/man1/ift-export.1.gz
%{_mandir}/man1/ift-extract.1.gz
%changelog
* Mon Mar 24 2008 Debarshi Ray <rishi at fedoraproject.org> - 1.0.2-2
- Fixed broken path to /usr/lib/udev in isight.rules.
* Fri Mar 21 2008 Debarshi Ray <rishi at fedoraproject.org> - 1.0.2-1
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/isight-firmware-tools/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 25 Mar 2008 00:01:52 -0000 1.1
+++ .cvsignore 26 Mar 2008 04:50:33 -0000 1.2
@@ -0,0 +1 @@
+isight-firmware-tools-1.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/isight-firmware-tools/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 25 Mar 2008 00:01:52 -0000 1.1
+++ sources 26 Mar 2008 04:50:33 -0000 1.2
@@ -0,0 +1 @@
+b8d1e80cf8d47f9aa4f683b995cd359c isight-firmware-tools-1.0.2.tar.gz
- Previous message (by thread): rpms/postgresql/F-7 .cvsignore, 1.38, 1.39 postgresql.spec, 1.82, 1.83 sources, 1.39, 1.40
- Next message (by thread): rpms/gdm/devel gdm.spec, 1.350, 1.351 sources, 1.77, 1.78 gdm-2.21.9-fix-default-path.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list