|
@@ -5,35 +5,36 @@ Summary(ja): 非同期ネームサービスライブラリ
|
|
|
|
|
|
Name: libasyncns
|
|
Name: libasyncns
|
|
Version: 0.8
|
|
Version: 0.8
|
|
-Release: 3%{?_dist_release}
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
-Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
|
|
|
|
-License: LGPLv2+
|
|
|
|
-Url: http://0pointer.de/lennart/projects/libasyncns/
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
-
|
|
|
|
|
|
+Release: 4%{?_dist_release}
|
|
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
|
|
+License: LGPLv2+
|
|
|
|
+URL: http://0pointer.de/lennart/projects/libasyncns/
|
|
|
|
+Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
|
|
|
|
+
|
|
%description
|
|
%description
|
|
A small and lightweight library that implements easy to use asynchronous
|
|
A small and lightweight library that implements easy to use asynchronous
|
|
wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
|
|
wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development Files for libasyncns Client Development
|
|
Summary: Development Files for libasyncns Client Development
|
|
Summary(ja): %{name} クライアント用の開発ファイル
|
|
Summary(ja): %{name} クライアント用の開発ファイル
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
Development Files for libasyncns Client Development
|
|
Development Files for libasyncns Client Development
|
|
|
|
|
|
|
|
+
|
|
# compat32
|
|
# compat32
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: Asynchronous Name Service Library
|
|
Summary: Asynchronous Name Service Library
|
|
Summary(ja): 非同期ネームサービスライブラリ
|
|
Summary(ja): 非同期ネームサービスライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system,legacy
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
@@ -43,7 +44,7 @@ wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development Files for libasyncns Client Development
|
|
Summary: Development Files for libasyncns Client Development
|
|
Summary(ja): %{name} クライアント用の開発ファイル
|
|
Summary(ja): %{name} クライアント用の開発ファイル
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming,legacy
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
@@ -51,34 +52,34 @@ Requires: %{name}-devel = %{version}-%{release}
|
|
Development Files for libasyncns Client Development
|
|
Development Files for libasyncns Client Development
|
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
+%debug_package
|
|
|
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
-make
|
|
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
+
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
|
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
|
|
|
+rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
|
|
|
|
+
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%license LICENSE
|
|
%license LICENSE
|
|
%doc README
|
|
%doc README
|
|
%{_libdir}/libasyncns.so.*
|
|
%{_libdir}/libasyncns.so.*
|
|
-%{_docdir}/%{name}/README*
|
|
|
|
-%{_docdir}/%{name}/style.css
|
|
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -100,6 +101,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* 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
|
|
* Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
|
|
- rebuilt with current environment.
|
|
- rebuilt with current environment.
|
|
|
|
|