Accepting request 82577 from home:jengelh:bl
- Implement baselibs for package OBS-URL: https://build.opensuse.org/request/show/82577 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/adns?expand=0&rev=7
This commit is contained in:
parent
ef063bbec9
commit
c8dc4f7c55
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 16 19:06:22 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Implement baselibs for package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 19 23:07:43 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
|
27
adns.spec
27
adns.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package adns (Version 1.4)
|
||||
# spec file for package adns
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,19 +15,19 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: adns
|
||||
%define lname libadns1
|
||||
Version: 1.4
|
||||
Release: 82
|
||||
Release: 83
|
||||
License: GPLv2+
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Url: http://www.chiark.greenend.org.uk/~ian/adns/
|
||||
AutoReqProv: on
|
||||
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: README.SUSE
|
||||
Source2: baselibs.conf
|
||||
Patch0: %{name}-%{version}-destdir.patch
|
||||
Patch1: %{name}-%{version}-configure.patch
|
||||
Patch2: %{name}-%{version}-ipv6.patch
|
||||
@ -43,7 +43,7 @@ Authors:
|
||||
--------
|
||||
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
|
||||
|
||||
%package -n libadns1
|
||||
%package -n %lname
|
||||
License: GPLv2+
|
||||
Summary: Advanced DNS resolver client library
|
||||
Group: System/Libraries
|
||||
@ -51,7 +51,7 @@ Provides: libadns = %{version}
|
||||
#openSUSE 10.2
|
||||
Obsoletes: libadns <= 1.3
|
||||
|
||||
%description -n libadns1
|
||||
%description -n %lname
|
||||
Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
|
||||
client library for C (and C++) programs.
|
||||
|
||||
@ -65,7 +65,7 @@ Authors:
|
||||
License: GPLv2+
|
||||
Summary: Libraries and header files to develop programs with libadns support
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libadns1 = %{version} glibc-devel
|
||||
Requires: %lname = %{version} glibc-devel
|
||||
|
||||
%description -n libadns-devel
|
||||
Libadns-devel includes the header file and static library to develop
|
||||
@ -88,7 +88,7 @@ cp %{S:1} .
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
make %{?jobs:-j%jobs} all
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
@ -99,15 +99,12 @@ rm %{buildroot}%{_libdir}/*.a
|
||||
# disable check for ipv6 patch
|
||||
# make check
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING GPL-vs-LGPL LICENCE.WAIVERS README* TODO changelog
|
||||
%{_bindir}/adns*
|
||||
|
||||
%files -n libadns1
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libadns.so.1*
|
||||
|
||||
@ -116,8 +113,8 @@ rm -rf %{buildroot}
|
||||
%{_includedir}/adns.h
|
||||
%{_libdir}/libadns.so
|
||||
|
||||
%post -n libadns1 -p /sbin/ldconfig
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n libadns1 -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
|
4
baselibs.conf
Normal file
4
baselibs.conf
Normal file
@ -0,0 +1,4 @@
|
||||
libadns1
|
||||
libadns-devel
|
||||
requires -libadns-<targettype>
|
||||
requires "libadns1-<targettype> = <version>"
|
Loading…
Reference in New Issue
Block a user