From 6b9729613fc16d473fa76f36edf84da9c6c4bcc4 Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Aug 27 2014 18:40:05 +0000 Subject: Backing out 1.1.0 again, broken dependencies problem --- diff --git a/iguanaIR.spec b/iguanaIR.spec index 8792396..5fda536 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -1,7 +1,7 @@ Name: iguanaIR -Version: 1.1.0 -Release: 5%{?dist} -Epoch: 1 +Version: 1.0.5 +Release: 6%{?dist} +Epoch: 2 Summary: Driver for Iguanaworks USB IR transceiver Group: System Environment/Daemons @@ -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/317 -Patch1: changeset_2710.patch -Patch2: rpath.patch -Patch3: cmake-args.patch +# 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 Requires: lirc, udev -BuildRequires: cmake, popt-devel, libusb1-devel, libusb-devel, systemd-units +BuildRequires: popt-devel, libusb1-devel, libusb-devel, systemd-units Requires(post): systemd-units, systemd-sysv Requires(preun): systemd-units Requires(postun): systemd-units @@ -65,20 +65,17 @@ 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 -./runCmake -DLIBDIR="%{_libdir}" -cd build +%configure %{?_disable_clock_gettime} 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} @@ -139,12 +136,11 @@ fi %files -%doc AUTHORS LICENSE LICENSE-LGPL -%doc README.txt WHY ChangeLog +%doc AUTHORS LICENSE LICENSE-LGPL WHY protocols.txt +%doc README.txt notes.txt ChangeLog %doc README.fedora %{_bindir}/igdaemon %{_bindir}/igclient -%{_bindir}/iguanaIR-rescan %{_libdir}/lib%{name}.so.* %{_libdir}/%{name}/*.so %{_libexecdir}/%{name}/ @@ -167,6 +163,9 @@ fi %{_bindir}/%{name}-reflasher %changelog +* Wed Aug 27 2014 Alec Leamas 1.0-0.1.pre2 - Update to 1.0pre2 snapshot - Revamp spec to be more compliant with Fedora packaging guidelines +