-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdns.spec
60 lines (43 loc) · 1007 Bytes
/
dns.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name: dns
Version: 0.0.1
Release: 1%{?dist}
Summary: dns
Group: -
License: Apache 2
URL: https://github.com/b17v134/dns
Source0: %{name}-%{version}.tar.gz
BuildRequires: check-devel json-c-devel libevent-devel libnghttp2-devel openssl-devel
Requires: openssl-libs
%description
dns
%package -n python3-dns
Summary: python interface to DNS C library
BuildRequires: json-c-devel python3-devel python3-pip python3-wheel
Requires: dns
%description -n python3-dns
python interface to DNS C library
%prep
%setup -q
%build
%configure \
--enable-python
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS ChangeLog README* NEWS
%{_bindir}/*
%{_includedir}/*
%{_libdir}/*
%files -n python3-dns
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS ChangeLog README* NEWS
%{python3_sitearch}/dns/
%{python3_sitearch}/*.so
%{python3_sitearch}/*.dist-info
%changelog
* Sat Oct 22 2022 b17v134 b17v134@users.noreply.github.com
- First version