93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
Name: libifp
|
|
Version: 1.0.0.2
|
|
Release: 6%{?dist}
|
|
Summary: A general-purpose library-driver for iRiver's iFP portable audio players
|
|
|
|
Group: System Environment/Base
|
|
License: GPLv2
|
|
URL: http://ifp-driver.sourceforge.net/
|
|
Source0: http://dl.sourceforge.net/ifp-driver/%{name}-%{version}.tar.gz
|
|
Source1: libifp.hotplug
|
|
Source2: 10-libifp.rules
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: libusb-devel doxygen
|
|
|
|
%description
|
|
libifp is a general-purpose library-driver for iRiver's iFP (flash-based)
|
|
portable audio players. The source code is pure C and is fairly portable.
|
|
|
|
Also included is a console app that uses the library.
|
|
|
|
%package devel
|
|
Summary: Headers and libraries for developing with libifp
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains headers and libraries for developing apps that use
|
|
libifp.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --with-libusb --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
|
|
install -D -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/libifp-hotplug
|
|
install -D -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/10-libifp.rules
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog COPYING README TODO
|
|
%{_bindir}/*
|
|
%{_libdir}/*.so.*
|
|
/sbin/*
|
|
%{_sysconfdir}/udev/rules.d/*.rules
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.so
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.0.0.2-6
|
|
- rebuild for BuildID
|
|
- fix license tag
|
|
|
|
* Thu Jul 05 2007 Aurelien Bompard <abompard@fedoraproject.org> 1.0.0.2-5
|
|
- update udev rules to newer syntax (bug 246844)
|
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.0.0.2-4
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
* Fri Sep 22 2006 Aurelien Bompard <abompard@fedoraproject.org> 1.0.0.2-3
|
|
- rebuild
|
|
|
|
* Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.0.2-2
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
* Mon Aug 22 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.0.2-1
|
|
- Upstream update
|
|
- Disabled build of static libraries
|
|
|
|
* Thu Jul 14 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.0.1-2
|
|
- Modified for new udev
|
|
|
|
* Thu Jul 7 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net>
|
|
- Added Per Bjornsson's hotplug files
|
|
|
|
* Wed Jun 29 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.0.0.1-1
|
|
- Initial RPM release
|