123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Summary: Asynchronous Name Service Library
- Summary(ja): 非同期ネームサービスライブラリ
- Name: libasyncns
- Version: 0.8
- Release: 5%{?_dist_release}
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: LGPLv2+
- URL: http://0pointer.de/lennart/projects/libasyncns/
- Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
- %description
- A small and lightweight library that implements easy to use asynchronous
- wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
- %package devel
- Summary: Development Files for libasyncns Client Development
- Summary(ja): %{name} クライアント用の開発ファイル
- Group: programming
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- Development Files for libasyncns Client Development
- # compat32
- %package -n compat32-%{name}
- Summary: Asynchronous Name Service Library
- Summary(ja): 非同期ネームサービスライブラリ
- Group: system,legacy
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- A small and lightweight library that implements easy to use asynchronous
- wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
- %package -n compat32-%{name}-devel
- Summary: Development Files for libasyncns Client Development
- Summary(ja): %{name} クライアント用の開発ファイル
- Group: programming,legacy
- Requires: compat32-%{name} = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- %description -n compat32-%{name}-devel
- Development Files for libasyncns Client Development
- %debug_package
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
- rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- %license LICENSE
- %doc README
- %{_libdir}/libasyncns.so.*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/asyncns.h
- %{_libdir}/libasyncns.so
- %{_libdir}/pkgconfig/libasyncns.pc
- # compat32
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-,root,root,-)
- %{_libdir}/libasyncns.so.*
- %files -n compat32-%{name}-devel
- %defattr(-,root,root)
- %{_libdir}/libasyncns.so
- %{_libdir}/pkgconfig/libasyncns.pc
- %endif
- %changelog
- * Mon Jul 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-5
- - rebuilt with current environment.
- * Wed Nov 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-4
- - rebuilt with current environment.
- - dropped ldconfig scriptlets.
- * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
- - rebuilt with current environment.
- * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-2
- - rebuild with VineSeed environment
- * Wed Dec 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-1
- - new upstream release
- - create compat32-libasyncns sub package
- - remove unrecognized configure options "--disable-rpath"
- * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
- - rebuild with rpm-4.8.1 for pkg-config file
- * Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
- - initial build for Vine Linux
- * Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
- - Initial packaging
|