zeenix pushed to geoclue2 (master). "Package demo applications"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 7 15:51:21 UTC 2015
>From 504657cb7e0ca26f537ccb323f440084e44ee8ad Mon Sep 17 00:00:00 2001
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
Date: Tue, 7 Apr 2015 16:45:11 +0100
Subject: Package demo applications
diff --git a/geoclue2.spec b/geoclue2.spec
index 962bef0..7de3b53 100644
--- a/geoclue2.spec
+++ b/geoclue2.spec
@@ -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 at redhat.com> 2.1.10-2
+- Package demo applications too.
+
* Tue Jan 6 2015 Peter Robinson <pbrobinson at fedoraproject.org> 2.1.10-1
- Update to 2.1.10
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/geoclue2.git/commit/?h=master&id=504657cb7e0ca26f537ccb323f440084e44ee8ad
More information about the scm-commits
mailing list