1
0
Dominique Leuenberger 2015-04-07 07:29:18 +00:00 committed by Git OBS Bridge
commit bdc6f036f6
4 changed files with 158 additions and 18 deletions

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAABAgAGBQJNvaD8AAoJED2DadgXJjG40hIIAJvfAixoe74C0xkNnY8cE9bz
R1Ej/YRqMhYYuchoKX0FMBbzfUqFTXuhhp+igBFo73AnQ16E2/xMJhCE2jYU+uMm
hMBx0k2/hEjgVdSL4Gc0+II9QkAC7kAPe81ypljyq6zE3aaw2epu2So7u/ICgQu+
ekiE7sSLPSwPPPNVfLH92lHpuGMXKzioj7M64FufOXjUz4UFcw05OBTvGvI9XnFa
YueUGvlX24nEKIjcJ7Mf7YTg68Vbif5KQC6/dInJPJRVLCcs1XaC0kFPrAuYxKyw
l8nD2RH7SgAROoomKUCxpMGiyW9WjjSiVp9niI9V37NOlQrLg/1BUganB3REw/8=
=K12H
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Apr 3 08:12:36 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use udev macros from systemd-rpm-macros
- Update info rules
- Add gpg signature
- Use url for source
-------------------------------------------------------------------
Thu May 9 04:47:32 UTC 2013 - crrodriguez@opensuse.org

View File

@ -0,0 +1,115 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBEvlwAwBCAC2KoglA1pOH5rQZvZs+0lLNmvTlcry/im2ASBJ4jvxGBJhUdrT
afaOwwRgE0NUOGa2AG9DOySPOSlHD57CrJKugfbaYs9J9majt95CK413lKr2ZA/R
vWbTr6RdWWpKp3AHXxwd0RsLGLfLFYdRrXP61CAJ3GVydH0fvxUIm//NA3O7CGfR
DxHpFJU7lvq+dNzOI/Ypiuv/Y8XkVNvDFWJepEUDr8XZwYFWXvuBahajTbR9Zyod
6PXGcwlAS2BP+FAdQikwrKmNqF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OEAEQEAAYkBHwQYAQIACQUCS+XADAIb
DAAKCRA9g2nYFyYxuPqsB/9VdbI7mjXCLHoivEROXUvJ2j3tgtIT28aY6Yjtc5/C
9pWMQXp7mZmZLMmjnNWyVet10//IETegbWFWcPnyIwa8fJx6bBDfd8kxoFxNCwtG
UXxl9hqBv3mSJAD+Aua2W5jT5tYJOUXSstVEXvjQ6b8MiScYdvh43K2PL0KyYCxX
w3IotXk1IVOnRit/hd4kurEtayMuSlz1C4yqMcHPNY287VO2ZgLgD92l9NbBSb55
PcJtd7Ls220mLBQgHkuhxpYo74FBa3fK7Dbp5yp86QwUkwvo92P3jHgwJqT+93yC
WV0vUGaqIbjLyKM3ANwKWjyn2UXiMXd9qEVsSkTDNBD1
=wZOH
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package isight-firmware-tools
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,8 @@
#
%define _udevdir %(pkg-config --variable=udevdir udev)
%define _udevrulesdir %{_udevdir}/rules.d
Name: isight-firmware-tools
Version: 1.6
Release: 0
@ -23,20 +25,26 @@ Summary: Tools to manipulate firmware for Built-in iSight
License: GPL-2.0
Group: Amusements/Toys/Graphics
Url: http://bersace03.free.fr/ift/
Source: isight-firmware-tools-%{version}.tar.gz
Source0: https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz
Source1: https://launchpad.net/isight-firmware-tools/main/%{version}/+download/isight-firmware-tools-%{version}.tar.gz.asc
Source2: %{name}.keyring
Patch0: isight-firmware-tools-older_isight-1.6.0.diff
Patch1: isight-ft-udev.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: intltool
BuildRequires: libgcrypt-devel
BuildRequires: libtool
BuildRequires: libusb-devel
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(udev)
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _udevdir %(pkg-config --variable=udevdir udev)
%define _udevrulesdir %{_udevdir}/rules.d
%{?systemd_requires}
%description
This project provide tools to manipulate firmware for Built-in iSight
found on Apple machine since iMac G5 iSight
@ -45,13 +53,14 @@ found on Apple machine since iMac G5 iSight
%setup -q
%patch0 -p1
%patch1 -p1
%build
autoreconf -fiv
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang %{name}
rm -f %{buildroot}%{_infodir}/dir
@ -59,27 +68,23 @@ 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 || :
%install_info --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
%{udev_rules_update}
%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
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-extract.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ift-export.info.gz
%files -f %{name}.lang
%defattr(-,root,root)
%{_udevrulesdir}/isight.rules
%dir %{_datadir}/doc/packages/%{name}
%dir %{_docdir}/%{name}
%{_bindir}/ift-export
%{_bindir}/ift-extract
%{_udevdir}/ift-load
%doc %{_datadir}/doc/packages/%{name}/HOWTO
%doc %{_docdir}/%{name}/HOWTO
%{_infodir}/*
%{_mandir}/man1/*.1%{ext_man}