SPECS: fwf.spec - some cleanups, simple desc/pl

qboosh qboosh at pld-linux.org
Tue Dec 6 20:54:57 CET 2005


Author: qboosh                       Date: Tue Dec  6 19:54:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- some cleanups, simple desc/pl

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

---- Diffs:

================================================================
Index: SPECS/fwf.spec
diff -u SPECS/fwf.spec:1.1 SPECS/fwf.spec:1.2
--- SPECS/fwf.spec:1.1	Tue Dec  6 00:51:41 2005
+++ SPECS/fwf.spec	Tue Dec  6 20:54:51 2005
@@ -1,10 +1,6 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_with	tests		# build with tests
-%bcond_without	tests		# build without tests
-#
 Summary:	Free Widgets Foundation
+Summary(pl):	Free Widgets Foundation - wolnodostępna podstawa widgetów
 Name:		fwf
 Version:	0
 Release:	0.1
@@ -15,7 +11,10 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-FWF
+Free Widgets Foundation.
+
+%description -l pl
+Free Widgets Foundation - wolnodostępna podstawa widgetów.
 
 %prep
 %setup -q -n FWF
@@ -28,9 +27,6 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -38,31 +34,11 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-
-%post
-
-%preun
-
-%postun
-
 %if %{with ldconfig}
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 %endif
 
-%if %{with initscript}
-%post init
-/sbin/chkconfig --add %{name}
-%service %{name} restart
-
-%preun init
-if [ "$1" = "0" ]; then
-	%service -q %{name} stop
-	/sbin/chkconfig --del %{name}
-fi
-%endif
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
@@ -75,27 +51,14 @@
 %{_datadir}/%{name}
 %endif
 
-# initscript and its config
-%if %{with initscript}
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%endif
-
-#%{_examplesdir}/%{name}-%{version}
-
-%if %{with subpackage}
-%files subpackage
-%defattr(644,root,root,755)
-#%doc extras/*.gz
-#%{_datadir}/%{name}-ext
-%endif
-
 %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.2  2005/12/06 19:54:51  qboosh
+- some cleanups, simple desc/pl
+
 Revision 1.1  2005/12/05 23:51:41  adasi
 - NFY, placeholder
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fwf.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list