SPECS: csync2.spec - package all files - use ac/am automation, not...

blues blues at pld-linux.org
Tue May 8 15:44:42 CEST 2007


Author: blues                        Date: Tue May  8 13:44:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package all files - use ac/am automation, not own hands

---- Files affected:
SPECS:
   csync2.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/csync2.spec
diff -u SPECS/csync2.spec:1.6 SPECS/csync2.spec:1.7
--- SPECS/csync2.spec:1.6	Thu Apr  5 13:11:13 2007
+++ SPECS/csync2.spec	Tue May  8 15:44:36 2007
@@ -1,10 +1,12 @@
 # $Revision$, $Date$
+# TODO:
+# - inetd subpackage/files
 Summary:	Cluster sync tool
 Summary(pl.UTF-8):	Narzędzie do synchronizacji klastra
 Name:		csync2
 Version:	1.33
-Release:	0.1
-License:	GPL
+Release:	0.3
+License:	GPL v2
 Group:		Daemons
 Source0:	http://oss.linbit.com/csync2/%{name}-%{version}.tar.gz
 # Source0-md5:	e16e3c0f4285439cef09a6b63319a0b0
@@ -40,10 +42,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
-install csync2 $RPM_BUILD_ROOT%{_sbindir}
 install -d $RPM_BUILD_ROOT%{_var}/lib/csync2
 
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,8 +57,11 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS ChangeLog README TODO csync2.xinetd csync2_locheck.sh paper.pdf
+%attr(640,root,root) %config(noreplace) %{_sysconfdir}/csync2.cfg
 %attr(755,root,root) %{_sbindir}/csync2
+%attr(755,root,root) %{_sbindir}/csync2-compare
+%dir %{_mandir}/man1/*.1*
 %dir %{_var}/lib/csync2
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -64,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/05/08 13:44:36  blues
+- package all files - use ac/am automation, not own hands
+
 Revision 1.6  2007/04/05 11:11:13  zbyniu
 - up to 1.33
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/csync2.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list