]> git.pld-linux.org Git - packages/eventum-scm.git/commitdiff
new, version 3.0.12 auto/th/eventum-scm-3.0.12-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 19 Apr 2016 20:24:30 +0000 (23:24 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 19 Apr 2016 20:24:55 +0000 (23:24 +0300)
separated from main eventum package

config.patch [new file with mode: 0644]
config.php [new file with mode: 0644]
eventum-scm.spec [new file with mode: 0644]

diff --git a/config.patch b/config.patch
new file mode 100644 (file)
index 0000000..f8623a8
--- /dev/null
@@ -0,0 +1,39 @@
+--- eventum-3.0.0-pre1/scm/eventum-cvs-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-cvs-hook.php        2015-02-09 14:39:22.881991719 +0200
+@@ -52,9 +52,7 @@
+ // SCM repository name. Needed if multiple repositories configured
+ $scm_name = 'cvs';
+-//
+-// DO NOT CHANGE ANYTHING AFTER THIS LINE
+-//
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
+--- eventum-3.0.0-pre1/scm/eventum-svn-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-svn-hook.php        2015-02-09 14:40:05.184671966 +0200
+@@ -48,9 +48,7 @@
+ // SCM repository name. Needed if multiple repositories configured
+ $scm_name = 'svn';
+-//
+-// DO NOT CHANGE ANYTHING AFTER THIS LINE
+-//
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
+--- eventum-3.0.0-pre1/scm/eventum-git-hook.php~       2014-11-30 13:48:18.000000000 +0200
++++ eventum-3.0.0-pre1/scm/eventum-git-hook.php        2015-04-08 16:37:51.434314140 +0300
+@@ -34,9 +34,7 @@
+ // TODO: use $GL_REPO
+ $scm_name = 'git';
+-//
+-// DO NOT CHANGE ANYTHING AFTER THIS LINE
+-//
++require '/etc/eventum/scm.php';
+ // save name of this script
+ $PROGRAM = basename(realpath(array_shift($argv)), '.php');
diff --git a/config.php b/config.php
new file mode 100644 (file)
index 0000000..eb86299
--- /dev/null
@@ -0,0 +1,5 @@
+<?php
+# URL to your Eventum installation.
+# https is supported transparently by PHP 5 if you have openssl module enabled.
+
+$eventum_url = 'http://localhost/eventum/';
diff --git a/eventum-scm.spec b/eventum-scm.spec
new file mode 100644 (file)
index 0000000..f64af3a
--- /dev/null
@@ -0,0 +1,76 @@
+%define                php_min_version 5.3.7
+%include       /usr/lib/rpm/macros.php
+Summary:       Eventum SCM integration
+Summary(pl.UTF-8):     Integracja SCM dla Eventum
+Name:          eventum-scm
+Version:       3.0.12
+Release:       1
+License:       GPL v2+
+Group:         Networking/Utilities
+Source0:       https://github.com/eventum/scm/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: fcad6856ee5fc17cf0bce6ce2a41c890
+Source1:       config.php
+Patch0:                config.patch
+URL:           https://github.com/eventum/scm
+BuildRequires: /usr/bin/php
+BuildRequires: php(core) >= %{php_min_version}
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+BuildRequires: rpmbuild(macros) >= 1.654
+BuildRequires: sed >= 4.0
+Requires:      php(core) >= %{php_min_version}
+Requires:      php(json)
+Requires:      php(pcre)
+Requires:      php(spl)
+Suggests:      cvs
+Suggests:      git-core
+Suggests:      php(openssl)
+Suggests:      subversion
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This feature allows your software development teams to integrate your
+Source Control Management system with your Issue Tracking System.
+
+The integration is implemented in such a way that it will be forward
+compatible with pretty much any SCM system, such as CVS.
+
+For installation see
+</eventum/help.php?topic=scm_integration_installation>.
+
+%description -l pl.UTF-8
+Ten pakiet pozwala zespołom programistów na integrację systemu
+zarządzania źródłami (SCM - Source Control Management) z systemem
+śledzenia spraw.
+
+Integracja jest zaimplementowana tak, aby być kompatybilna w przód z
+prawie każdym systemem SCM, jak np. CVS.
+
+Szczegóły na temat instalacji można przeczytać pod
+</eventum/help.php?topic=scm_integration_installation>.
+
+%prep
+%setup -q -n scm-%{version}
+%patch0 -p2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/scm.php
+cp -p helpers.php $RPM_BUILD_ROOT%{_sbindir}
+for a in eventum-*-hook.php; do
+       f=${a%.php}
+       install -p $a $RPM_BUILD_ROOT%{_sbindir}/$f
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(751,root,root) %dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/scm.php
+%attr(755,root,root) %{_sbindir}/eventum-cvs-hook
+%attr(755,root,root) %{_sbindir}/eventum-git-hook
+%attr(755,root,root) %{_sbindir}/eventum-svn-hook
+%attr(755,root,root) %{_sbindir}/helpers.php
This page took 0.075977 seconds and 4 git commands to generate.