SPECS: wbuild.spec - pl, cleanups

qboosh qboosh at pld-linux.org
Thu Dec 15 22:54:54 CET 2005


Author: qboosh                       Date: Thu Dec 15 21:54:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, cleanups

---- Files affected:
SPECS:
   wbuild.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/wbuild.spec
diff -u SPECS/wbuild.spec:1.4 SPECS/wbuild.spec:1.5
--- SPECS/wbuild.spec:1.4	Tue Dec  6 19:07:04 2005
+++ SPECS/wbuild.spec	Thu Dec 15 22:54:48 2005
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
-#
 Summary:	Widget Building Tool
+Summary(pl):	Narzędzie do budowania widgetów
 Name:		wbuild
 Version:	3.0
 Release:	0.2
@@ -12,24 +12,23 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-WBuild
+Widget Building Tool.
+
+%description -l pl
+Narzędzie do budowania widgetów.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-
 %{__make} \
-	CFLAGS="%{rpmcflags} -DINITFILE='\"/etc/wbuild.cfg\"' "\
+	CFLAGS="%{rpmcflags} -DINITFILE='\"%{_sysconfdir}/wbuild.cfg\"' "\
 	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/bin
-install -d $RPM_BUILD_ROOT/etc
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -41,7 +40,7 @@
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/wbuild
-%config(noreplace) /etc/wbuild.cfg
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/wbuild.cfg
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -49,6 +48,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/12/15 21:54:48  qboosh
+- pl, cleanups
+
 Revision 1.4  2005/12/06 18:07:04  adasi
 - fixed URL
 
@@ -60,5 +62,3 @@
 
 Revision 1.1  2005/12/06 17:51:46  adasi
 - NFY
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wbuild.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list