diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-07-08 15:54:43 +0200 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-07-11 16:24:46 +0200 |
commit | 19baeb3cdc026c400eef251ab4df53d2c3c05cf9 (patch) | |
tree | 3d48e50508e638f294b16fef0f0d5fd1d62f276f | |
parent | 97a620d14fe759548cdd9dc1e9bfbd7772684e75 (diff) | |
download | alarm-manager-accepted/tizen_3.0.m14.3_ivi.tar.gz alarm-manager-accepted/tizen_3.0.m14.3_ivi.tar.bz2 alarm-manager-accepted/tizen_3.0.m14.3_ivi.zip |
Remove macro %autogen for yocto compatibilitytizen_3.0_ivi_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20140916.000000submit/tizen_common/20140912.150451submit/tizen_common/20140912.150039accepted/tizen/common/20140915.091257tizen_3.0_ivitizen_3.0.m14.3_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_common
Also:
* Use macros
* Remove useless license related stuffs
Change-Id: I3bd3812dd3f8478989a6417010ef83f1f33ed3dc
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r-- | packaging/alarm-manager.spec | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/packaging/alarm-manager.spec b/packaging/alarm-manager.spec index 9ad5903..4713f6d 100644 --- a/packaging/alarm-manager.spec +++ b/packaging/alarm-manager.spec @@ -1,6 +1,6 @@ Name: alarm-manager Version: 0.4.86 -Release: 1 +Release: 0 License: Apache-2.0 Summary: Alarm library Group: Application Framework/Libraries @@ -10,7 +10,6 @@ Source102: 60-alarm-manager-rtc.rules Source103: alarm-service.conf Source1001: %{name}.manifest - BuildRequires: pkgconfig(appsvc) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(bundle) @@ -56,17 +55,13 @@ Alarm server library (devel) %setup -q cp %{SOURCE1001} . - %build -%autogen --disable-static dbus-binding-tool --mode=glib-server --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-skeleton.h dbus-binding-tool --mode=glib-client --prefix=alarm_manager ./alarm_mgr.xml > ./include/alarm-stub.h dbus-binding-tool --mode=glib-server --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-skeleton.h dbus-binding-tool --mode=glib-client --prefix=alarm_client ./alarm-expire.xml > ./include/alarm-expire-stub.h - -%configure --disable-static -make %{?_smp_mflags} - +%reconfigure --disable-static +%__make %{?_smp_mflags} %install %make_install @@ -80,10 +75,6 @@ install -m0644 %{SOURCE102} %{buildroot}%{_sysconfdir}/udev/rules.d/ mkdir -p %{buildroot}/%{_sysconfdir}/dbus-1/system.d install -m0644 %{SOURCE103} %{buildroot}%{_sysconfdir}/dbus-1/system.d/ -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/alarm-server -cp LICENSE %{buildroot}/usr/share/license/libalarm -cp LICENSE %{buildroot}/usr/share/license/libalarm-devel %preun -n alarm-server if [ $1 == 0 ]; then @@ -113,13 +104,12 @@ fi %attr(0755,root,root) %{_bindir}/alarm-server %{_unitdir}/multi-user.target.wants/alarm-server.service %{_unitdir}/alarm-server.service -%{_sysconfdir}/dbus-1/system.d/alarm-service.conf +%config %{_sysconfdir}/dbus-1/system.d/alarm-service.conf %ifarch %{arm} - %exclude %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules + %exclude %config %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules %else - %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules + %config %{_sysconfdir}/udev/rules.d/60-alarm-manager-rtc.rules %endif -/usr/share/license/alarm-server %post -n libalarm -p /sbin/ldconfig @@ -128,14 +118,12 @@ fi %files -n libalarm %manifest %{name}.manifest %license LICENSE -%manifest alarm-lib.manifest %attr(0644,root,root) %{_libdir}/libalarm.so.0.0.0 %{_libdir}/libalarm.so.0 -/usr/share/license/libalarm %files -n libalarm-devel %manifest %{name}.manifest %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libalarm.so -/usr/share/license/libalarm-devel + |