2011-06-03 19:16:21 +02:00
|
|
|
#
|
2011-07-06 12:55:24 +02:00
|
|
|
# spec file for package isight-firmware-tools
|
|
|
|
#
|
2012-10-10 22:03:33 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-07-06 12:55:24 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2011-06-03 19:16:21 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-07-06 12:55:24 +02:00
|
|
|
|
2011-06-03 19:16:21 +02:00
|
|
|
Name: isight-firmware-tools
|
|
|
|
Version: 1.6
|
2012-10-10 22:03:33 +02:00
|
|
|
Release: 0
|
2011-06-03 19:16:21 +02:00
|
|
|
Summary: Tools to manipulate firmware for Built-in iSight
|
2012-10-10 22:03:33 +02:00
|
|
|
License: GPL-2.0
|
2011-06-03 19:16:21 +02:00
|
|
|
Group: Amusements/Toys/Graphics
|
2012-10-10 22:03:33 +02:00
|
|
|
Url: http://bersace03.free.fr/ift/
|
2011-06-03 19:16:21 +02:00
|
|
|
Source: isight-firmware-tools-%{version}.tar.gz
|
2012-02-07 10:57:59 +01:00
|
|
|
Patch0: isight-firmware-tools-older_isight-1.6.0.diff
|
2011-06-03 19:16:21 +02:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This project provide tools to manipulate firmware for Built-in iSight
|
|
|
|
found on Apple machine since iMac G5 iSight
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-02-07 10:57:59 +01:00
|
|
|
%patch0 -p1
|
2011-06-03 19:16:21 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_docdir}
|
|
|
|
mv %{buildroot}%{_datadir}/doc/isight-firmware-tools %{buildroot}%{_docdir}/isight-firmware-tools
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info %{_infodir}/ift-extract.info %{_infodir}/dir || :
|
|
|
|
/sbin/install-info %{_infodir}/ift-export.info %{_infodir}/dir || :
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ] ; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/ift-extract.info %{_infodir}/dir || :
|
|
|
|
/sbin/install-info --delete %{_infodir}/ift-export.info %{_infodir}/dir || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config %{_sysconfdir}/udev/rules.d/isight.rules
|
|
|
|
%dir %{_libdir}/udev
|
|
|
|
%dir %{_datadir}/doc/packages/%{name}
|
|
|
|
%{_bindir}/ift-export
|
|
|
|
%{_bindir}/ift-extract
|
2012-10-10 22:03:33 +02:00
|
|
|
%dir %{_libdir}/udev
|
|
|
|
%dir %{_sysconfdir}/udev/rules.d
|
|
|
|
%dir %{_sysconfdir}/udev
|
2011-06-03 19:16:21 +02:00
|
|
|
%{_libdir}/udev/ift-load
|
|
|
|
%doc %{_datadir}/doc/packages/%{name}/HOWTO
|
|
|
|
%{_infodir}/*
|
|
|
|
%{_mandir}/man1/*.1%{ext_man}
|
2011-07-06 12:55:24 +02:00
|
|
|
|
2011-06-03 19:16:21 +02:00
|
|
|
%changelog
|