[Erp5-report] r11556 - /spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Nov 30 18:26:23 CET 2006
Author: kevin
Date: Thu Nov 30 18:26:21 2006
New Revision: 11556
URL: http://svn.erp5.org?rev=11556&view=rev
Log:
Update to version 0.1.9
Fix file rights
Move log file to folder
Add empty log file
Modified:
spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec
Modified: spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec?rev=11556&r1=11555&r2=11556&view=diff
==============================================================================
--- spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec (original)
+++ spec/mandriva/2006.0/openoffice.org-oood/openoffice.org-oood.spec Thu Nov 30 18:26:21 2006
@@ -1,13 +1,15 @@
%define prefix openoffice.org-
%define deamon_name oood
-%define version 0.1.8
+%define version 0.1.9
%define release 1
%define server_user oood
%define config_dir %{_sysconfdir}/oood
%define server_dir %{_var}/lib/oood
%define run_dir %{_var}/run/oood
+%define log_dir %{_var}/log/oood
+
Summary: Standalone server for converting various types of docs to/from OpenOffice format, extracting and editing metadata.
Name: %{prefix}%{deamon_name}
@@ -66,7 +68,9 @@
# Create and populate /var/run/oood
%{__mkdir_p} %{buildroot}%{run_dir}
-cat %{deamon_name}/README > README.urpmi
+# Create and populate /var/log/oood
+%{__mkdir_p} %{buildroot}%{log_dir}
+touch %{buildroot}%{log_dir}/oood.log
# Create logrotate file
%define logrotate_dir %{_sysconfdir}/logrotate.d
@@ -81,13 +85,16 @@
}
" > %{buildroot}/%{logrotate_dir}/oood
+# Create README file
+cat %{deamon_name}/README > README.urpmi
+
%clean
%{__rm} -rf %{buildroot}
%pre
-%_pre_useradd %{server_user} %{server_dir} /bin/false
+%_pre_useradd %{server_user} %{run_dir} /bin/bash
%post
@@ -118,18 +125,30 @@
%files
+
%defattr(0755,root,root,755)
-%attr(-,%{server_user},%{server_user}) %{server_dir}
-%attr(755,root,root) %{_initrddir}/oood
+%{_initrddir}/oood
%{logrotate_dir}/oood
-%{run_dir}
%config(noreplace) %{config_dir}
%config(noreplace) %{_sysconfdir}/logrotate.d/oood
%doc %{deamon_name}/VERSION.txt %{deamon_name}/README %{deamon_name}/MAINTAINERS.txt
+%defattr(0755,%{server_user},%{server_user},755)
+%{server_dir}
+%{run_dir}
+%{log_dir}
+#}%create_ghostfile %{log_dir}/oood.log
+%config(noreplace) %{log_dir}/oood.log
+
#----------------------------------------------------------------------
%changelog
+* Thu Nov 30 2006 Kevin Deldycke <kevin at nexedi.com> 0.1.9-1mdk
+- Update to version 0.1.9
+- Fix file rights
+- Move log file to folder
+- Add empty log file
+
* Thu Nov 30 2006 Kevin Deldycke <kevin at nexedi.com> 0.1.8-1mdk
- Update to version 0.1.8
- Macro-ize some hard-coded path reference
More information about the Erp5-report
mailing list