Package demo applications

This commit is contained in:
Zeeshan Ali (Khattak) 2015-04-07 16:45:11 +01:00
parent 151484988b
commit 504657cb7e

View File

@ -1,6 +1,6 @@
Name: geoclue2
Version: 2.1.10
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Geolocation service
License: GPLv2+
@ -37,13 +37,20 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains files for developing applications that
use %{name}.
%package demos
Summary: Demo applications for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description demos
The %{name}-demos package contains demo applications that use %{name}.
%prep
%setup -q -n geoclue-%{version}
%build
%configure --with-dbus-service-user=geoclue
%configure --with-dbus-service-user=geoclue --enable-demo-agent
make %{?_smp_mflags} V=1
@ -84,15 +91,21 @@ exit 0
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
%{_unitdir}/geoclue.service
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_datadir}/applications/geoclue-where-am-i.desktop
%files devel
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml
%{_libdir}/pkgconfig/geoclue-2.0.pc
%files demos
%{_libexecdir}/geoclue-2.0/demos/where-am-i
%{_libexecdir}/geoclue-2.0/demos/agent
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_datadir}/applications/geoclue-where-am-i.desktop
%changelog
* Tue Apr 7 2015 Zeeshan Ali <zeenix@redhat.com> 2.1.10-2
- Package demo applications too.
* Tue Jan 6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.10-1
- Update to 2.1.10