parent
683d9c7849
commit
1a7f089d4b
@ -0,0 +1 @@
|
|||||||
|
libmicrodns-*.tar.gz
|
@ -0,0 +1,64 @@
|
|||||||
|
Name: libmicrodns
|
||||||
|
Version: 0.0.10
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Minimal mDNS resolver library
|
||||||
|
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://github.com/videolabs/libmicrodns
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Minimal mDNS resolver (and announcer) library.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--disable-assert
|
||||||
|
|
||||||
|
%make_build V=1
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS NEWS
|
||||||
|
%{_docdir}/microdns/README.md
|
||||||
|
%{_libdir}/libmicrodns.so.0*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/microdns
|
||||||
|
%{_libdir}/libmicrodns.so
|
||||||
|
%{_libdir}/pkgconfig/microdns.pc
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Apr 13 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.0.10-1
|
||||||
|
- Update to 0.0.10
|
||||||
|
|
||||||
|
* Wed Feb 14 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.0.8-1
|
||||||
|
- Initial spec file
|
Loading…
Reference in new issue