]> git.pld-linux.org Git - packages/eventum.git/commitdiff
package examples to examplesdir
authorElan Ruusamäe <glen@delfi.ee>
Tue, 3 Feb 2015 00:58:42 +0000 (02:58 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 3 Feb 2015 00:58:42 +0000 (02:58 +0200)
eventum.spec

index 85833aae3f257a028285f57e36fe5dff8e8255f9..e47570216fc136ff2fb1252a2fcdf85b4b5d0dff 100644 (file)
@@ -10,7 +10,7 @@
 %bcond_with    order   # with experimental order patch
 
 %define                subver  pre1
-%define                rel             0.5
+%define                rel             0.6
 %define                php_min_version 5.3.3
 %include       /usr/lib/rpm/macros.php
 Summary:       Eventum Issue / Bug tracking system
@@ -454,6 +454,8 @@ This package contains the cron job.
 %prep
 %setup -qn %{name}-%{version}%{?subver:-%{subver}}
 
+mv docs/examples .
+
 # GPL v2
 rm docs/COPYING
 
@@ -516,6 +518,9 @@ install -d \
        localedir=%{_localedir} \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %{?with_order:cp -a htdocs/ajax $RPM_BUILD_ROOT%{_appdir}/htdocs}
 
 cp -a vendor $RPM_BUILD_ROOT%{_appdir}
@@ -694,6 +699,8 @@ done
 
 %{_appdir}/vendor
 
+%{_examplesdir}/%{name}-%{version}
+
 %{systemdtmpfilesdir}/%{name}.conf
 %dir %attr(730,root,http) /var/run/%{name}
 %dir %attr(730,root,http) /var/cache/%{name}
This page took 0.042864 seconds and 4 git commands to generate.