[packages/wvtftp] - new
qboosh
qboosh at pld-linux.org
Wed Dec 31 16:46:11 CET 2014
commit 15f1dd95ad9efebf2497cfccb537f05bbfe47425
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Dec 31 16:47:21 2014 +0100
- new
wvtftp.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
---
diff --git a/wvtftp.spec b/wvtftp.spec
new file mode 100644
index 0000000..bc06575
--- /dev/null
+++ b/wvtftp.spec
@@ -0,0 +1,56 @@
+# TODO: init script, configuration etc.
+Summary: WvTFTPd - Trivial File Transfer Protocol server
+Summary(pl.UTF-8): WvTFTPd - serwer TFTP (Trivial File Transfer Protocol)
+Name: wvtftp
+Version: 1.0.1
+Release: 0.1
+License: LGPL v2.1+
+Group: Networking/Daemons
+Source0: http://wvstreams.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: dd32fdc1bb2f78cfc0c2805ff1210b0d
+# is there more specific URL? alumnit.ca shows HTTP 500 currently
+URL: http://alumnit.ca/wiki/
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
+BuildRequires: wvstreams-devel >= 4.5
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+WvTFTPd - Trivial File Transfer Protocol server.
+
+%description -l pl.UTF-8
+WvTFTPd - serwer TFTP (Trivial File Transfer Protocol).
+
+%prep
+%setup -q
+
+%build
+# not autoconf generated, no arguments used
+./configure
+# not generated by configure (and not needed now)
+touch config.mk
+%{__make} -j1 \
+ CC="%{__cc}" \
+ CXX="%{__cxx}" \
+ CPPOPTS="%{rpmcppflags}" \
+ COPTS="%{rpmcflags}" \
+ CXXOPTS="%{rpmcppflags}" \
+ VERBOSE=1 \
+ WVSTREAMS_LIB=. \
+ enable_debug=no
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+ BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
+ MANDIR=$RPM_BUILD_ROOT%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_sbindir}/wvtftpd
+%{_mandir}/man8/wvtftpd.8*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wvtftp.git/commitdiff/15f1dd95ad9efebf2497cfccb537f05bbfe47425
More information about the pld-cvs-commit
mailing list