packages: halevt/halevt.spec - package more files - rel 0.4

uzsolt uzsolt at pld-linux.org
Sun May 9 16:08:27 CEST 2010


Author: uzsolt                       Date: Sun May  9 14:08:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package more files
- rel 0.4

---- Files affected:
packages/halevt:
   halevt.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/halevt/halevt.spec
diff -u packages/halevt/halevt.spec:1.1 packages/halevt/halevt.spec:1.2
--- packages/halevt/halevt.spec:1.1	Sat Apr 17 14:36:14 2010
+++ packages/halevt/halevt.spec	Sun May  9 16:08:22 2010
@@ -3,7 +3,7 @@
 Summary(hu.UTF-8):	Halevt egy démon, amely egy parancsot hajt végre, ha egy eszközt csatlakoztatsz a gépedhez
 Name:		halevt
 Version:	0.1.6.1
-Release:	0.1
+Release:	0.4
 License:	GPL v2
 Group:		Applications
 Source0:	http://savannah.nongnu.org/download/halevt/%{name}-%{version}.tar.gz
@@ -16,13 +16,20 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+Halevt is a daemon that commands when a device added to your system.
 
 %description -l pl.UTF-8
+Halevt egy démon, amely egy parancsot hajt végre, ha egy eszközt
+csatlakoztatsz a gépedhez.
 
 %prep
 %setup -q
 
 %build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -32,13 +39,25 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp examples/*.xml $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
+
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+# maybe create a config file?
+%dir %{_sysconfdir}/%{name}
 %attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog NEWS README TODO
+%{_mandir}/man1/*.1*
+%{_infodir}/%{name}.info.*
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -46,6 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/05/09 14:08:22  uzsolt
+- package more files
+- rel 0.4
+
 Revision 1.1  2010/04/17 12:36:14  uzsolt
 - initial
 - needs some more works (no time at this moment)
================================================================

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



More information about the pld-cvs-commit mailing list