make -libs subpackage (#663124)

This commit is contained in:
Miroslav Lichvar 2011-07-26 16:51:43 +02:00
parent d08a7a4ba0
commit 33666ceafa

View File

@ -22,6 +22,7 @@ BuildRequires: libusb1-devel
%endif %endif
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: %{name}-libs = %{version}-%{release}
Requires: udev Requires: udev
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(post): /sbin/chkconfig Requires(post): /sbin/chkconfig
@ -39,10 +40,18 @@ can share access to a GPS without contention or loss of data. Also,
gpsd responds to queries with a format that is substantially easier to gpsd responds to queries with a format that is substantially easier to
parse than NMEA 0183. parse than NMEA 0183.
%package devel %package libs
Summary: Client libraries in C and Python for talking to a running gpsd or GPS Summary: Client libraries in C and Python for talking to a running gpsd or GPS
Group: System Environment/Libraries
%description libs
This package contains the gpsd libraries and python modules that manage access
to a GPS for applications.
%package devel
Summary: Development files for the gpsd library
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -154,15 +163,18 @@ fi
%{_bindir}/gpsprof %{_bindir}/gpsprof
%{_bindir}/gpsmon %{_bindir}/gpsmon
%{_bindir}/gpsctl %{_bindir}/gpsctl
%{_libdir}/libgps*.so.*
/lib/udev/gpsd* /lib/udev/gpsd*
%{python_sitearch}/gps*
%exclude %{python_sitearch}/gps/fake*
%{_mandir}/man8/gpsd.8* %{_mandir}/man8/gpsd.8*
%{_mandir}/man1/gpsprof.1* %{_mandir}/man1/gpsprof.1*
%{_mandir}/man1/gpsmon.1* %{_mandir}/man1/gpsmon.1*
%{_mandir}/man1/gpsctl.1* %{_mandir}/man1/gpsctl.1*
%files libs
%defattr(-,root,root,-)
%{_libdir}/libgps*.so.*
%{python_sitearch}/gps*
%exclude %{python_sitearch}/gps/fake*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc TODO %doc TODO