* 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>
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/
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
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
-Source1001: adns.manifest
+Source1001: adns.manifest
BuildRequires: autoconf
%description
BuildRequires: autoconf
%description
%package -n libadns-devel
Summary: Libraries and header files to develop programs with libadns support
%package -n libadns-devel
Summary: Libraries and header files to develop programs with libadns support
-Group: Development/Languages/C and C++
Requires: %lname = %{version}
Requires: glibc-devel
Requires: %lname = %{version}
Requires: glibc-devel
cp %{SOURCE1001} .
%build
cp %{SOURCE1001} .
%build
-autoreconf -fiv
-%configure
-make %{?_smp_mflags} all
+%reconfigure
+%__make %{?_smp_mflags} all
+%post -n %lname -p /sbin/ldconfig
+
+%postun -n %lname -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%files
%manifest %{name}.manifest
%defattr(-,root,root)
%{_includedir}/adns.h
%{_libdir}/libadns.so
%defattr(-,root,root)
%{_includedir}/adns.h
%{_libdir}/libadns.so
-
-%post -n %lname -p /sbin/ldconfig
-
-%postun -n %lname -p /sbin/ldconfig
-
-%changelog