[iguanaIR] Make a new try to sort out deps for 1.1.0
leamas
leamas at fedoraproject.org
Tue Sep 2 09:32:47 UTC 2014
commit c88f15bdf6ddcc34045cf2cf6a872b37ab599dc2
Author: Alec Leamas <leamas.alec at gmail.com>
Date: Tue Sep 2 11:32:26 2014 +0200
Make a new try to sort out deps for 1.1.0
iguanaIR.spec | 30 ++++++++++++++++++------------
sources | 2 +-
2 files changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/iguanaIR.spec b/iguanaIR.spec
index dcff382..6838e41 100644
--- a/iguanaIR.spec
+++ b/iguanaIR.spec
@@ -1,6 +1,6 @@
Name: iguanaIR
-Version: 1.0.5
-Release: 7%{?dist}
+Version: 1.1.0
+Release: 6%{?dist}
Epoch: 2
Summary: Driver for Iguanaworks USB IR transceiver
@@ -11,13 +11,13 @@ Source0: http://iguanaworks.net/downloads/%{name}-%{version}.tar.bz2
Source1: iguanaIR.service
Source2: iguanaIR-rescan
Source3: README.fedora
-# https://iguanaworks.net/projects/IguanaIR/ticket/205 for patch 5, 3, 2.
-Patch3: 0003-Use-platform-specific-python-extension-dir.patch
-# Fedora only
-Patch6: 0006-udev-invoke-systemd-support-not-sysV-init-file.patch
+# https://iguanaworks.net/projects/IguanaIR/ticket/317
+Patch1: changeset_2710.patch
+Patch2: rpath.patch
+Patch3: cmake-args.patch
Requires: lirc, udev
-BuildRequires: popt-devel, libusb1-devel, libusb-devel, systemd-units
+BuildRequires: cmake, popt-devel, libusb1-devel, libusb-devel, systemd-units
Requires(post): systemd-units, systemd-sysv
Requires(preun): systemd-units
Requires(postun): systemd-units
@@ -65,17 +65,20 @@ what this means, you don't need it.
%prep
%setup -q -n %{name}-%{version}
+%patch1 -p3
+%patch2 -p1
%patch3 -p1
-%patch6 -p1
cp %{SOURCE3} README.fedora
%build
-%configure %{?_disable_clock_gettime}
+./runCmake -DLIBDIR="%{_libdir}"
+cd build
make CFLAGS="%{optflags} -fpic -DFEDORA=1" %{?_smp_mflags}
%install
+cd build
make install PREFIX=$RPM_BUILD_ROOT/usr DESTDIR=$RPM_BUILD_ROOT INLIBDIR=$RPM_BUILD_ROOT%{_libdir}
install -m755 -d $RPM_BUILD_ROOT%{_localstatedir}/run/%{name}
@@ -136,11 +139,12 @@ fi
%files
-%doc AUTHORS LICENSE LICENSE-LGPL WHY protocols.txt
-%doc README.txt notes.txt ChangeLog
+%doc AUTHORS LICENSE LICENSE-LGPL
+%doc README.txt WHY ChangeLog
%doc README.fedora
%{_bindir}/igdaemon
%{_bindir}/igclient
+%{_bindir}/iguanaIR-rescan
%{_libdir}/lib%{name}.so.*
%{_libdir}/%{name}/*.so
%{_libexecdir}/%{name}/
@@ -163,6 +167,9 @@ fi
%{_bindir}/%{name}-reflasher
%changelog
+* Tue Sep 2 2014 Alec Leamas <leamas.alec at nowhere.net - 2:1.1.0-6
+- Make a new try to sort out deps for 1.1.0
+
* Wed Aug 27 2014 Alec Leamas <leamas.alec at nowhere.net - 2:1.0.5-7
- Have to re-add sources as well.
@@ -228,4 +235,3 @@ fi
* Wed Jul 21 2010 Jarod Wilson <jarod at redhat.com> 1.0-0.1.pre2
- Update to 1.0pre2 snapshot
- Revamp spec to be more compliant with Fedora packaging guidelines
-
diff --git a/sources b/sources
index e42db02..39942e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fbdf09dbef2aaf6c89804994d17b2440 iguanaIR-1.0.5.tar.bz2
+798eda1de8873c8da41fb50ffe221140 iguanaIR-1.1.0.tar.bz2
More information about the scm-commits
mailing list