libasyncns/libasyncns.spec

66 lines
1.6 KiB
RPMSpec
Raw Normal View History

2008-07-28 17:50:25 +00:00
Name: libasyncns
2008-10-27 23:46:02 +00:00
Version: 0.7
2008-07-28 17:50:25 +00:00
Release: 1%{?dist}
Summary: Asynchronous Name Service Library
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-%(%{__id_u} -n)
%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
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Development Files for libasyncns Client Development
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%prep
%setup -q
%build
2008-07-28 18:02:46 +00:00
%configure --disable-static
make %{?_smp_mflags}
2008-07-28 17:50:25 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
2008-10-27 23:46:02 +00:00
rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
2008-07-28 17:50:25 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README LICENSE
%{_libdir}/libasyncns.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/asyncns.h
%{_libdir}/libasyncns.so
%{_libdir}/pkgconfig/libasyncns.pc
%changelog
2008-10-27 23:46:02 +00:00
* Tue Oct 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.7-1
- New release
2008-10-23 23:10:17 +00:00
* Fri Oct 24 2008 Lennart Poettering <lpoetter@redhat.com> 0.6-1
- New release
2008-08-23 14:04:02 +00:00
* Sat Aug 23 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-1
- New release
2008-07-28 17:50:25 +00:00
* Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
- Initial packaging