]> git.pld-linux.org Git - packages/davical.git/commitdiff
- don't install windows-related stuff
authorpawelz <pawelz@pld-linux.org>
Wed, 22 Sep 2010 15:02:48 +0000 (15:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- correct permissions and deps for scripts in %{_datadir}

Changed files:
    davical.spec -> 1.7

davical.spec

index 931d8216b46b76de6ba16f073e79abc1df8224bd..245c051d7911e87dd07697f00d86b7ec2116bd87 100644 (file)
@@ -16,6 +16,9 @@ Patch0:               %{name}-php_data_dir.patch
 Patch1:                %{name}-conf_path.patch
 BuildRequires: php-awl
 BuildRequires: php-pear-PhpDocumentor
+Requires:      perl(DBD::Pg)
+Requires:      perl(YAML)
+Requires:      perl-base
 Requires:      php-awl
 Requires:      php-pcre
 Requires:      php-pdo-pgsql
@@ -61,6 +64,8 @@ cp -a inc $RPM_BUILD_ROOT%{_appdir}
 cp -a htdocs $RPM_BUILD_ROOT%{_appdir}
 cp -a dba $RPM_BUILD_ROOT%{_appdir}
 
+rm -rf $RPM_BUILD_ROOT%{_appdir}/dba/windows
+
 install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{name}/httpd.conf
 install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{name}/apache.conf
 install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{name}/lighttpd.conf
@@ -99,6 +104,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/httpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{name}/lighttpd.conf
 %dir %{_appdir}
-%{_appdir}/dba
+%dir %{_appdir}/dba
+%{_appdir}/dba/*.sql
+%{_appdir}/dba/*.txt
+%{_appdir}/dba/patches
+%{_appdir}/dba/views
+%attr(755,root,root) %{_appdir}/dba/create-database.sh
+%attr(755,root,root) %{_appdir}/dba/update-davical-database
 %{_appdir}/htdocs
 %{_appdir}/inc
This page took 0.069095 seconds and 4 git commands to generate.