packages: udisks-glue/udisks-glue.spec - configuration file (taken from man...

uzsolt uzsolt at pld-linux.org
Fri Oct 22 10:36:34 CEST 2010


Author: uzsolt                       Date: Fri Oct 22 08:36:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- configuration file (taken from manual, a bit modified)
- k3b and libnotify suggests (because of default configuration)
- rel 0.2

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

---- Diffs:

================================================================
Index: packages/udisks-glue/udisks-glue.spec
diff -u packages/udisks-glue/udisks-glue.spec:1.1 packages/udisks-glue/udisks-glue.spec:1.2
--- packages/udisks-glue/udisks-glue.spec:1.1	Fri Oct 22 09:28:21 2010
+++ packages/udisks-glue/udisks-glue.spec	Fri Oct 22 10:36:29 2010
@@ -2,16 +2,19 @@
 Summary:	udisks-glue is a tool that can associate udisks events to user-defined actions
 Name:		udisks-glue
 Version:	1.1.1
-Release:	0.1
+Release:	0.2
 License:	distributable (with modifications properly marked if any)
 Group:		Applications
 Source0:	http://carme.pld-linux.org/~uzsolt/sources/%{name}-%{version}.tar.xz
 # Source0-md5:	48600ae617938db28377bcbcd4998e36
+Source1:	%{name}.conf
 Patch0:		makefile.patch
 URL:		http://github.com/fernandotcl/udisks-glue
 BuildRequires:	libconfuse-devel
 BuildRequires:	pkg-config
 BuildRequires:	udev-glib-devel
+Suggests:	k3b
+Suggests:	libnotify
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,6 +24,9 @@
 most basic functionality is available (mounting and unmounting
 removable media).
 
+If you want to use default configuration, you should install libnotify
+and k3b (the package suggests these).
+
 %prep
 %setup -q
 %patch0 -p1
@@ -36,14 +42,18 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install man/udisks-glue.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%{_sysconfdir}/udisks-glue.conf
 %doc README LICENSE
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/udisks-glue.1*
@@ -54,6 +64,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/10/22 08:36:29  uzsolt
+- configuration file (taken from manual, a bit modified)
+- k3b and libnotify suggests (because of default configuration)
+- rel 0.2
+
 Revision 1.1  2010/10/22 07:28:21  uzsolt
 - initial
 
================================================================

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



More information about the pld-cvs-commit mailing list