Author: qboosh                       Date: Sat Jan 12 19:44:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- preliminary cleanup
- no symlink hackery in post

---- Files affected:
SPECS:
   gadmintools-gproftpd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/gadmintools-gproftpd.spec
diff -u SPECS/gadmintools-gproftpd.spec:1.1 SPECS/gadmintools-gproftpd.spec:1.2
--- SPECS/gadmintools-gproftpd.spec:1.1 Sat Sep  8 22:08:37 2007
+++ SPECS/gadmintools-gproftpd.spec     Sat Jan 12 20:44:50 2008
@@ -5,15 +5,15 @@
 # - 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
+%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}
+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:       
http://mange.dynalias.org/linux/gproftpd/%{realname}-%{version}.tar.gz
 # Source0-md5: 0b8a06c4972a00b912b0afa3ae6ec539
 Patch0:                %{name}-install.patch
 URL:           http://mange.dynalias.org/linux.html
@@ -30,7 +30,7 @@
 dla serwera ProFTPD napisanym w GTK+.
 
 %prep
-%setup -q -n %{_realname}-%{version}
+%setup -q -n %{realname}-%{version}
 %patch0 -p1
 
 %build
@@ -48,16 +48,12 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{_realname}
+%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
 
@@ -67,20 +63,20 @@
        /sbin/chkconfig --del %{name}
 fi
 
-%files -f %{_realname}.lang
+%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}/%{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
+%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
+%dir %{_pixmapsdir}/%{realname}
+%{_pixmapsdir}/%{realname}/*.png
+%{_pixmapsdir}/%{realname}/%{realname}36.xpm
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -88,8 +84,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008-01-12 19:44:50  qboosh
+- preliminary cleanup
+- no symlink hackery in post
+
 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
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gadmintools-gproftpd.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to