diff --git a/.cvsignore b/.cvsignore index e69de29..48085dc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libirman-0.4.5.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..04fa66c --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libirman-0_4_5-3_fc10:HEAD:libirman-0.4.5-3.fc10.src.rpm:1243527304 diff --git a/libirman.spec b/libirman.spec new file mode 100644 index 0000000..a6614d2 --- /dev/null +++ b/libirman.spec @@ -0,0 +1,95 @@ +Name: libirman +Version: 0.4.5 +Release: 3%{?dist} +Summary: Library for IRMAN hardware + +Group: System Environment/Libraries +#The files which make up the library are covered under the GNU Library +#General Public License, which is in the file COPYING.lib. +#The files which make up the test programs and the documentation are covered +#under the GNU General Public License, which is in the file COPYING. +License: GPLv2+ and LGPLv2+ +URL: http://lirc.sourceforge.net/software/snapshots/ +Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf, automake, libtool + +%description +A library for accessing the IRMAN hardware from Linux and other Unix systems. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +libtoolize --force --copy +autoreconf +%configure --disable-static --disable-rpath \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --sysconfdir=%{_sysconfdir} +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING* README TODO NEWS +%config(noreplace) %{_sysconfdir}/irman.conf +%{_bindir}/* +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc TECHNICAL +%{_includedir}/* +%{_libdir}/*.so + + +%changelog +* Sun May 17 2009 Ján ONDREJ (SAL) - 0.4.5-3 +- added libtoolize to fix build for f11 + +* Sat Apr 18 2009 Ján ONDREJ (SAL) - 0.4.5-2 +- added autoreconf and --disable-rpath + +* Fri Apr 10 2009 Ján ONDREJ (SAL) - 0.4.5-1 +- new upstream +- updated Source0 to sourceforge +- removed autoconf things + +* Thu Apr 02 2009 Jan ONDREJ (SAL) - 0.4.4-5.20090314cvs +- removed cvs patch, added instructions to create cvs snapshot tar package, + which is now defined as Source0 + +* Sat Mar 14 2009 Jan ONDREJ (SAL) - 0.4.4-4.20090314cvs +- applied cvs patch, which fixed dynamic library build and IRMAN restart +- added BuildRequires: autoconf, automake, libtool + +* Sat Dec 6 2008 Jan ONDREJ (SAL) - 0.4.4-3 +- initial release diff --git a/sources b/sources index e69de29..10c4896 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4a2708d53b6c79659c073cfefed57f78 libirman-0.4.5.tar.bz2