1 %define php_min_version 5.3.7
2 Summary: Eventum SCM integration
3 Summary(pl.UTF-8): Integracja SCM dla Eventum
8 Group: Networking/Utilities
9 Source0: https://github.com/eventum/scm/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 2a61b49fddd045ef4600641042cf2efe
12 URL: https://github.com/eventum/scm
13 BuildRequires: /usr/bin/php
14 BuildRequires: php(core) >= %{php_min_version}
15 BuildRequires: rpm-php-pearprov >= 4.0.2-98
16 BuildRequires: rpmbuild(macros) >= 1.654
17 BuildRequires: sed >= 4.0
18 Requires: php(core) >= %{php_min_version}
24 Suggests: php(openssl)
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _libdir %{_prefix}/lib
32 This feature allows your software development teams to integrate your
33 Source Control Management system with your Issue Tracking System.
35 The integration is implemented in such a way that it will be forward
36 compatible with pretty much any SCM system, such as CVS.
39 </eventum/help.php?topic=scm_integration_installation>.
41 %description -l pl.UTF-8
42 Ten pakiet pozwala zespołom programistów na integrację systemu
43 zarządzania źródłami (SCM - Source Control Management) z systemem
46 Integracja jest zaimplementowana tak, aby być kompatybilna w przód z
47 prawie każdym systemem SCM, jak np. CVS.
49 Szczegóły na temat instalacji można przeczytać pod
50 </eventum/help.php?topic=scm_integration_installation>.
57 %{__sed} -i -e '1 s,#!.*php,#!/usr/bin/php,' eventum-*-hook.php
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}}
62 cp -p helpers.php $RPM_BUILD_ROOT%{_libdir}/eventum-scm-helpers.php
63 for a in eventum-*-hook.php; do
65 install -p $a $RPM_BUILD_ROOT%{_sbindir}/$f
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
73 %doc README.md CHANGELOG.md
74 %attr(755,root,root) %{_sbindir}/eventum-cvs-hook
75 %attr(755,root,root) %{_sbindir}/eventum-git-hook
76 %attr(755,root,root) %{_sbindir}/eventum-svn-hook
77 %{_libdir}/eventum-scm-helpers.php