Package demo applications
This commit is contained in:
parent
151484988b
commit
504657cb7e
@ -1,6 +1,6 @@
|
|||||||
Name: geoclue2
|
Name: geoclue2
|
||||||
Version: 2.1.10
|
Version: 2.1.10
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Geolocation service
|
Summary: Geolocation service
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -37,13 +37,20 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
The %{name}-devel package contains files for developing applications that
|
The %{name}-devel package contains files for developing applications that
|
||||||
use %{name}.
|
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
|
%prep
|
||||||
%setup -q -n geoclue-%{version}
|
%setup -q -n geoclue-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-dbus-service-user=geoclue
|
%configure --with-dbus-service-user=geoclue --enable-demo-agent
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
|
||||||
@ -84,15 +91,21 @@ exit 0
|
|||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
|
||||||
%{_unitdir}/geoclue.service
|
%{_unitdir}/geoclue.service
|
||||||
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
|
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
|
||||||
%{_datadir}/applications/geoclue-demo-agent.desktop
|
|
||||||
%{_datadir}/applications/geoclue-where-am-i.desktop
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml
|
||||||
%{_libdir}/pkgconfig/geoclue-2.0.pc
|
%{_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
|
%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
|
* Tue Jan 6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.10-1
|
||||||
- Update to 2.1.10
|
- Update to 2.1.10
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user