packages: lyricue/lyricue.spec - Setup example access control file as defau...

caleb caleb at pld-linux.org
Fri May 21 18:57:18 CEST 2010


Author: caleb                        Date: Fri May 21 16:57:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Setup example access control file as default and marked as config(noreplace)

---- Files affected:
packages/lyricue:
   lyricue.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/lyricue/lyricue.spec
diff -u packages/lyricue/lyricue.spec:1.7 packages/lyricue/lyricue.spec:1.8
--- packages/lyricue/lyricue.spec:1.7	Fri May 21 18:21:57 2010
+++ packages/lyricue/lyricue.spec	Fri May 21 18:57:12 2010
@@ -1,13 +1,12 @@
 # $Revision$, $Date$
 # TODO:
 # - Split packages for core, client and remote
-# - Add default access.conf file to package
 # - use %find_lang macro for *.mo
 # - ues perlprovs for perl deps
 Summary:	GNU Lyric Display System, client interface
 Name:		lyricue
 Version:	2.0.0
-Release:	4
+Release:	5
 License:	GPL
 Group:		X11/Applications/Graphics
 Source0:	http://www.adebenham.com/debian/%{name}_%{version}.tar.gz
@@ -55,16 +54,17 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/access.conf{.example,}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%docdir %{_docdir}/%{name}
+%dir %{_docdir}/%{name}
 %doc %{_docdir}/%{name}/*
 %dir %{_sysconfdir}/%{name}
-# XXX this glob is evil, use *.conf or sth, may match something irrelevant, like *~ or *.orig
-%config(noreplace) %{_sysconfdir}/%{name}/*
+%config(noreplace) %{_sysconfdir}/%{name}/*.conf
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}_remote
 %attr(755,root,root) %{_bindir}/import_media
@@ -102,6 +102,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2010/05/21 16:57:12  caleb
+- Setup example access control file as default and marked as config(noreplace)
+
 Revision 1.7  2010/05/21 16:21:57  glen
 - more review
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lyricue/lyricue.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list