split libraries to a separate package
This commit is contained in:
Ivana Hutarova Varekova 2011-01-05 09:34:31 +01:00
parent f972b513a2
commit 73de73648d

View File

@ -2,7 +2,7 @@
Name: pilot-link
Version: 0.12.5
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 2
# libpisock/md5.c Public Domain
# libpisock/blob.c LGPLv2+
@ -24,9 +24,6 @@ Patch4: pilot-link-0.12.1-var.patch
Patch6: pilot-link-0.12.2-open.patch
Patch10: pilot-link-0.12.3-clio.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: libpng-devel
BuildRequires: readline-devel
@ -50,7 +47,7 @@ Hat Linux system.
%package devel
Summary: PalmPilot development header files
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: pilot-link-libs = %{epoch}:%{version}-%{release}
Requires: libpng-devel
Requires: readline-devel
@ -71,6 +68,15 @@ Requires: perl(:MODULE_COMPAT_%{perl_version})
%description perl
This package contains utilities that depend on perl
%package libs
Summary: PalmPilot libraries
Group: System Environment/Libraries
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description libs
Libraries for applications communicating with PalmPilot
%prep
%setup -q
@ -150,9 +156,9 @@ install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
install -d %{buildroot}/lib/udev/rules.d/
install -p -m644 %{SOURCE6} %{buildroot}/lib/udev/rules.d/
%post -p /sbin/ldconfig
%post libs -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
@ -161,7 +167,6 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb README.fedora
%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-visor.conf
%{_libdir}/*.so.*
%{_bindir}/*
/lib/udev/rules.d/69-pilot-link.rules
%exclude %{_bindir}/pilot-ietf2datebook
@ -187,13 +192,20 @@ rm -rf %{buildroot}
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/PDA*
%files libs
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/*.so.*
%changelog
* Tue Jan 4 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 2:0.12.5-3
- Resolves: #659292
split libraries to a separate package
* Mon Nov 12 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2:0.12.5-2
- Resolves: #642435
udev rules broken for pilot-link
* Thu Jun 24 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 2:0.12.5-1
- update to 0.12.5