This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libgypsy/libgypsy.spec

106 lines
2.9 KiB
RPMSpec
Raw Normal View History

Name: libgypsy
Version: 0.8
Release: 2mamba
Summary: A GPS Multiplexing Daemon
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gypsy.freedesktop.org/wiki/
Source: http://gypsy.freedesktop.org/gypsy-releases/gypsy-%{version}.tar.gz
Patch0: gypsy-0.8-gcc-4.7.patch
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbluetooth-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gypsy is a GPS multiplexing daemon which allows multiple clients to access GPS data from multiple GPS sources concurrently.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
%description apidocs
Gypsy is a GPS multiplexing daemon which allows multiple clients to access GPS data from multiple GPS sources concurrently.
This package contains %{name} API documentation.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Gypsy is a GPS multiplexing daemon which allows multiple clients to access GPS data from multiple GPS sources concurrently.
This package contains libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
Gypsy is a GPS multiplexing daemon which allows multiple clients to access GPS data from multiple GPS sources concurrently.
This package contains static libraries need for development.
%prep
%setup -q -n gypsy-%{version}
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/Gypsy.conf
%{_libexecdir}/gypsy-daemon
%{_datadir}/dbus-1/system-services/org.freedesktop.Gypsy.service
%{_libdir}/libgypsy.so.*
%doc AUTHORS COPYING COPYING.lib LICENSE
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gypsy
%{_datadir}/gtk-doc/html/gypsy/*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gypsy
%{_includedir}/gypsy/*.h
%{_libdir}/libgypsy.so
%{_libdir}/pkgconfig/gypsy.pc
%files static
%defattr(-,root,root)
%{_libdir}/libgypsy.a
%{_libdir}/libgypsy.la
%changelog
* Fri Feb 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-2mamba
- rebuilt in devel
* Tue Nov 09 2010 gil <puntogil@libero.it> 0.8-1mamba
- update to 0.8
* Wed Apr 01 2009 gil <puntogil@libero.it> 0.6-1mamba
- package created by autospec