]> git.pld-linux.org Git - packages/dibbler.git/blob - dibbler.spec
- new, nfy, builds (maybe even works)
[packages/dibbler.git] / dibbler.spec
1 Summary:        Dibbler - a portable DHCPv6
2 Summary(pl):    Dibbler - portowalny DHCPv6
3 Name:           dibbler
4 Version:        0.3.1
5 Release:        0.1
6 License:        GPL v2
7 Group:          Networking/Daemons
8 Source0:        http://klub.com.pl/dhcpv6/%{name}-%{version}-src.tar.gz
9 # Source0-md5:  6bc2b0932f1000ad50624789873115d8
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://klub.com.pl/dhcpv6/
12 #BuildRequires: bison++ >= 1.21.9
13 BuildRequires:  flex
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libxml2-devel
16 BuildRequires:  pkgconfig
17 #Provides:      dhcpd?
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Dibbler is a portable DHCPv6 implementation. Is supports stateful
22 (i.e. IPv6 address granting) as well as stateless (i.e. option granting)
23 autoconfiguration for IPv6. Currently Linux 2.4/2.6 and Windows XP and
24 Windows 2003 ports are available. It features easy to use install packages
25 (Clickable Windows installer and RPM and DEB packages for Linux) and
26 extensive documentation (both for users as well as developers).
27
28 #%description -l pl
29 # TODO
30
31 #%package doc
32 #Summary:       Documentation for Dibbler - a portable DHCPv6
33 #Summary(pl):   Dokumentacja dla Dibblera - portowalnego DHCPv6
34 #Group:         Documentation
35
36 #%description subpackage
37
38 #%description subpackage -l pl
39
40 %prep
41 %setup -q -n %{name}
42 %patch0 -p0
43
44 %build
45 %{__make} \
46         ARCH=LINUX \
47         CFLAGS="%{rpmcflags}" \
48         CPP="%{__cpp}" \
49         CXX="%{__cxx}" \
50         CC="%{__cc}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sharedstatedir}/dibbler}
55
56 install dibbler-{client,server} $RPM_BUILD_ROOT%{_sbindir}
57 install *.conf $RPM_BUILD_ROOT%{_sharedstatedir}/dibbler
58 install doc/man/* $RPM_BUILD_ROOT%{_mandir}/man8
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc CHANGELOG GUIDELINES RELNOTES TODO WILD-IDEAS
66 %attr(755,root,root) %{_sbindir}/*
67 %dir %{_sharedstatedir}/%{name}
68 %config(noreplace) %{_sharedstatedir}/%{name}/*.conf
69 %{_mandir}/man8/*.8*
70
71 #%files doc
72 #%defattr(644,root,root,755)
73 #%doc doc/*.blah
This page took 0.091192 seconds and 4 git commands to generate.