source: projects/specs/trunk/lib/liba/libasyncns/libasyncns-vl.spec @ 8191

Revision 8191, 3.1 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: Asynchronous Name Service Library
4Summary(ja): 非同期ネームサービスライブラリ
5
6Name: libasyncns
7Version: 0.8
8Release: 2%{?_dist_release}
9Group: System Environment/Libraries
10Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
11License: LGPLv2+
12Url: http://0pointer.de/lennart/projects/libasyncns/
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19A small and lightweight library that implements easy to use asynchronous
20wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
21
22%package devel
23Summary: Development Files for libasyncns Client Development
24Summary(ja): %{name} クライアント用の開発ファイル
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27Requires: pkgconfig
28
29%description devel
30Development Files for libasyncns Client Development
31
32# compat32
33%package -n compat32-%{name}
34Summary: Asynchronous Name Service Library
35Summary(ja): 非同期ネームサービスライブラリ
36Group: System Environment/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description -n compat32-%{name}
40A small and lightweight library that implements easy to use asynchronous
41wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
42
43%package -n compat32-%{name}-devel
44Summary: Development Files for libasyncns Client Development
45Summary(ja): %{name} クライアント用の開発ファイル
46Group: Development/Libraries
47Requires: compat32-%{name} = %{version}-%{release}
48Requires: %{name}-devel = %{version}-%{release}
49
50%description -n compat32-%{name}-devel
51Development Files for libasyncns Client Development
52
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
57%post -n compat32-%{name} -p /sbin/ldconfig
58%postun -n compat32-%{name} -p /sbin/ldconfig
59
60%prep
61%setup -q
62
63%build
64%configure --disable-static
65make
66
67%install
68rm -rf $RPM_BUILD_ROOT
69make DESTDIR=$RPM_BUILD_ROOT install
70find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(-,root,root)
77%doc README LICENSE
78%{_libdir}/libasyncns.so.*
79%{_docdir}/%{name}/README*
80%{_docdir}/%{name}/style.css
81
82%files devel
83%defattr(-,root,root)
84%{_includedir}/asyncns.h
85%{_libdir}/libasyncns.so
86%{_libdir}/pkgconfig/libasyncns.pc
87
88# compat32
89%if %{build_compat32}
90%files -n compat32-%{name}
91%defattr(-,root,root,-)
92%{_libdir}/libasyncns.so.*
93
94%files -n compat32-%{name}-devel
95%defattr(-,root,root)
96%{_libdir}/libasyncns.so
97%{_libdir}/pkgconfig/libasyncns.pc
98%endif
99
100
101%changelog
102* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-2
103- rebuild with VineSeed environment
104
105* Wed Dec 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-1
106- new upstream release
107- create compat32-libasyncns sub package
108- remove unrecognized configure options "--disable-rpath"
109
110* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
111- rebuild with rpm-4.8.1 for pkg-config file
112
113* Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
114- initial build for Vine Linux
115
116* Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
117- Initial packaging
Note: See TracBrowser for help on using the repository browser.