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

Revision 12345, 3.3 KB checked in by tomop, 4 years ago (diff)

updated 7 packages

bridge-utils-1.6-1

dmidecode-3.2-1

hdparm-9.58-1

lsof-4.93.2-1

libasyncns-0.8-3

libdaemon-0.14-4

mtools-4.0.23-1

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: 3%{?_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%license LICENSE
78%doc README
79%{_libdir}/libasyncns.so.*
80%{_docdir}/%{name}/README*
81%{_docdir}/%{name}/style.css
82
83%files devel
84%defattr(-,root,root)
85%{_includedir}/asyncns.h
86%{_libdir}/libasyncns.so
87%{_libdir}/pkgconfig/libasyncns.pc
88
89# compat32
90%if %{build_compat32}
91%files -n compat32-%{name}
92%defattr(-,root,root,-)
93%{_libdir}/libasyncns.so.*
94
95%files -n compat32-%{name}-devel
96%defattr(-,root,root)
97%{_libdir}/libasyncns.so
98%{_libdir}/pkgconfig/libasyncns.pc
99%endif
100
101
102%changelog
103* Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
104- rebuilt with current environment.
105
106* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-2
107- rebuild with VineSeed environment
108
109* Wed Dec 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-1
110- new upstream release
111- create compat32-libasyncns sub package
112- remove unrecognized configure options "--disable-rpath"
113
114* Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
115- rebuild with rpm-4.8.1 for pkg-config file
116
117* Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
118- initial build for Vine Linux
119
120* Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
121- Initial packaging
Note: See TracBrowser for help on using the repository browser.