diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-09-15 13:40:04 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-09-15 13:40:04 +0200 |
commit | 36a2721c3c649175a599f4ca31577c5eeea8e3f6 (patch) | |
tree | 35fe09e7f15b487838b29cb27a160c04dc14f105 /packaging | |
parent | b17c61b0cea0a7b65f33a8454c0a017b5f95124c (diff) | |
download | adns-36a2721c3c649175a599f4ca31577c5eeea8e3f6.tar.gz adns-36a2721c3c649175a599f4ca31577c5eeea8e3f6.tar.bz2 adns-36a2721c3c649175a599f4ca31577c5eeea8e3f6.zip |
Clean spec file for Yocto compatibilitytizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_wearable/20150320.000000submit/tizen_tv/20150320.000001submit/tizen_mobile/20150325.000000submit/tizen_ivi/20160217.000004submit/tizen_ivi/20160217.000000submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen_common/20150317.150846accepted/tizen/wearable/20150323.005712accepted/tizen/tv/20150324.014502accepted/tizen/mobile/20150326.005117accepted/tizen/ivi/20160218.024247accepted/tizen/common/20150317.155114tizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commonaccepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_ivi
* Set valid group tags.
* Use macros.
Also remove generated files "Makefile" and "configure".
Change-Id: Iabd910c859ba39ab4c7d1940df30dbe42ed9c87f
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/adns.spec | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/packaging/adns.spec b/packaging/adns.spec index b6e323d..96c6658 100644 --- a/packaging/adns.spec +++ b/packaging/adns.spec @@ -1,14 +1,14 @@ Name: adns -%define lname libadns +%define lname libadns Version: 1.4 Release: 0 License: GPL-2.0+ Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities Url: http://www.chiark.greenend.org.uk/~ian/adns/ -Group: Productivity/Networking/DNS/Utilities +Group: System/Utilities Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf -Source1001: adns.manifest +Source1001: adns.manifest BuildRequires: autoconf %description @@ -24,7 +24,7 @@ client library for C (and C++) programs. %package -n libadns-devel Summary: Libraries and header files to develop programs with libadns support -Group: Development/Languages/C and C++ +Group: System/Libraries Requires: %lname = %{version} Requires: glibc-devel @@ -37,13 +37,15 @@ programs with libads support. cp %{SOURCE1001} . %build -autoreconf -fiv -%configure -make %{?_smp_mflags} all +%reconfigure +%__make %{?_smp_mflags} all %install %make_install +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig %files %manifest %{name}.manifest @@ -61,9 +63,3 @@ make %{?_smp_mflags} all %defattr(-,root,root) %{_includedir}/adns.h %{_libdir}/libadns.so - -%post -n %lname -p /sbin/ldconfig - -%postun -n %lname -p /sbin/ldconfig - -%changelog |