]> git.pld-linux.org Git - packages/dibbler.git/commitdiff
- new, nfy, builds (maybe even works)
authorradek <radek@pld-linux.org>
Sat, 1 Jan 2005 23:28:08 +0000 (23:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dibbler.spec -> 1.1

dibbler.spec [new file with mode: 0644]

diff --git a/dibbler.spec b/dibbler.spec
new file mode 100644 (file)
index 0000000..d509206
--- /dev/null
@@ -0,0 +1,73 @@
+Summary:       Dibbler - a portable DHCPv6
+Summary(pl):   Dibbler - portowalny DHCPv6
+Name:          dibbler
+Version:       0.3.1
+Release:       0.1
+License:       GPL v2
+Group:         Networking/Daemons
+Source0:       http://klub.com.pl/dhcpv6/%{name}-%{version}-src.tar.gz
+# Source0-md5: 6bc2b0932f1000ad50624789873115d8
+Patch0:                %{name}-Makefile.patch
+URL:           http://klub.com.pl/dhcpv6/
+#BuildRequires:        bison++ >= 1.21.9
+BuildRequires: flex
+BuildRequires: libstdc++-devel
+BuildRequires: libxml2-devel
+BuildRequires: pkgconfig
+#Provides:     dhcpd?
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dibbler is a portable DHCPv6 implementation. Is supports stateful
+(i.e. IPv6 address granting) as well as stateless (i.e. option granting)
+autoconfiguration for IPv6. Currently Linux 2.4/2.6 and Windows XP and
+Windows 2003 ports are available. It features easy to use install packages
+(Clickable Windows installer and RPM and DEB packages for Linux) and
+extensive documentation (both for users as well as developers).
+
+#%description -l pl
+# TODO
+
+#%package doc
+#Summary:      Documentation for Dibbler - a portable DHCPv6
+#Summary(pl):  Dokumentacja dla Dibblera - portowalnego DHCPv6
+#Group:                Documentation
+
+#%description subpackage
+
+#%description subpackage -l pl
+
+%prep
+%setup -q -n %{name}
+%patch0 -p0
+
+%build
+%{__make} \
+       ARCH=LINUX \
+       CFLAGS="%{rpmcflags}" \
+       CPP="%{__cpp}" \
+       CXX="%{__cxx}" \
+       CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sharedstatedir}/dibbler}
+
+install dibbler-{client,server} $RPM_BUILD_ROOT%{_sbindir}
+install *.conf $RPM_BUILD_ROOT%{_sharedstatedir}/dibbler
+install doc/man/* $RPM_BUILD_ROOT%{_mandir}/man8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG GUIDELINES RELNOTES TODO WILD-IDEAS
+%attr(755,root,root) %{_sbindir}/*
+%dir %{_sharedstatedir}/%{name}
+%config(noreplace) %{_sharedstatedir}/%{name}/*.conf
+%{_mandir}/man8/*.8*
+
+#%files doc
+#%defattr(644,root,root,755)
+#%doc doc/*.blah
This page took 0.086863 seconds and 4 git commands to generate.