SPECS: gadmintools-gproftpd.spec (NEW) - new - based on spec from ...
czarny
czarny at pld-linux.org
Sat Sep 8 22:08:42 CEST 2007
Author: czarny Date: Sat Sep 8 20:08:42 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
- based on spec from the source tar.gz
- needs some nifty hand to check my hackery
---- Files affected:
SPECS:
gadmintools-gproftpd.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/gadmintools-gproftpd.spec
diff -u /dev/null SPECS/gadmintools-gproftpd.spec:1.1
--- /dev/null Sat Sep 8 22:08:42 2007
+++ SPECS/gadmintools-gproftpd.spec Sat Sep 8 22:08:37 2007
@@ -0,0 +1,95 @@
+# $Revision$, $Date$
+# TODO:
+# - please do a general checkup of this program
+# - please note the patch and check it
+# - ensure that everything actually works and is installed
+# as the install scripts are horrible in this package
+# - lookup for other BR-s
+%define _realname gproftpd
+Summary: A GTK+ administation tool for the ProFTPD server
+Summary(pl.UTF_8):Narzędzie GTK+ do administracji serwerem ProFTPD.
+Name: gadmintools-%{_realname}
+Version: 8.3.2
+Release: 0.1
+License: GPL v2
+Group: Applications/System
+Source0: http://mange.dynalias.org/linux/%{_realname}/%{_realname}-%{version}.tar.gz
+# Source0-md5: 0b8a06c4972a00b912b0afa3ae6ec539
+Patch0: %{name}-install.patch
+URL: http://mange.dynalias.org/linux.html
+BuildRequires: gtk+2-devel
+Requires: proftpd
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GProFTPD is a fast and easy to use GTK+ administration tool for the
+proftpd standalone server.
+
+%description -l pl.UTF-8
+GProFTPD jest szybkim i łatwym w użyciu narzędziem administracyjnym
+dla serwera ProFTPD napisanym w GTK+.
+
+%prep
+%setup -q -n %{_realname}-%{version}
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{_realname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+# WTF?
+if test ! -h %{_bindir}/gproftpd ; then \
+ln -s %{_bindir}/consolehelper %{_bindir}/gproftpd ; \
+fi;
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
+%preun
+if [ "$1" = "0" ]; then
+ %service -q %{name} stop
+ /sbin/chkconfig --del %{name}
+fi
+
+%files -f %{_realname}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_sbindir}/%{_realname}
+%attr(755,root,root) %{_sbindir}/gprostats
+%dir %{_sysconfdir}/%{_realname}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{_realname}*
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/%{_realname}
+%config(noreplace) %verify(not md5 mtime size) /etc/security/console.apps/%{_realname}
+%{_desktopdir}/%{_realname}.desktop
+%{_pixmapsdir}/*.png
+%dir %{_pixmapsdir}/%{_realname}
+%{_pixmapsdir}/%{_realname}/*.png
+%{_pixmapsdir}/%{_realname}/%{_realname}36.xpm
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/09/08 20:08:37 czarny
+- new
+- based on spec from the source tar.gz
+- needs some nifty hand to check my hackery
+
================================================================
More information about the pld-cvs-commit
mailing list