Author: lisu                         Date: Wed Jun 16 10:00:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add default configuration file to /etc
- fix adapter formatting

---- Files affected:
packages/owfs:
   owfs.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: packages/owfs/owfs.spec
diff -u packages/owfs/owfs.spec:1.31 packages/owfs/owfs.spec:1.32
--- packages/owfs/owfs.spec:1.31        Wed Jun 16 11:36:26 2010
+++ packages/owfs/owfs.spec     Wed Jun 16 11:59:55 2010
@@ -53,13 +53,13 @@
 owfs is a method under Linux to allow 1-wire devices to appear like
 files in a directory. You can then enter a command like "cat
 - */temperature" to have all the temperatures sensors measure and
-  print their data.
+print their data.
 
 %description -l pl.UTF-8
 owfs to metoda umożliwiająca pod Linuksem dostęp do urządzeń 1-wire
 jak do plików w katalogu. Można wpisać polecenie w stylu "cat
 - */temperature" i spowodować pomiar temperatury przez wszystkie
-  czujniki oraz wypisanie danych.
+czujniki oraz wypisanie danych.
 
 %package libs
 Summary:       Shared owfs library
@@ -170,18 +170,22 @@
        --%{?with_owftpd:en}%{!?with_owftpd:dis}able-owftpd \
        --%{?with_perl:en}%{!?with_perl:dis}able-owperl \
        --%{?with_python:en}%{!?with_python:dis}able-owpython \
-       --enable-parport
+       --enable-parport \
+       --sysconfdir="%{_sysconfdir}"
 
 %{__make} \
        TCL_BIN_DIR=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        TCL_BIN_DIR=%{_libdir}
 
+install src/rpm/owfs.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
 %if %{with python}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/ow
 %py_postclean
@@ -227,6 +231,7 @@
 %attr(755,root,root) %{_bindir}/owserver
 %attr(755,root,root) %{_bindir}/owtap
 %attr(755,root,root) %{_bindir}/owwrite
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/owfs.conf
 %{_mandir}/man1/owdir.1*
 %{_mandir}/man1/owfs.1*
 %{_mandir}/man1/owftpd.1*
@@ -324,6 +329,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2010/06/16 09:59:55  lisu
+- add default configuration file to /etc
+- fix adapter formatting
+
 Revision 1.31  2010/06/16 09:36:26  glen
 - fix php extension packaging
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/owfs/owfs.spec?r1=1.31&r2=1.32&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to