]> git.pld-linux.org Git - packages/flyspray.git/commitdiff
- new
authorTomek Orzechowski <orzech@pld-linux.org>
Sun, 27 Jun 2004 10:37:37 +0000 (10:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flyspray-config.patch -> 1.1
    flyspray.conf -> 1.1
    flyspray.spec -> 1.1

flyspray-config.patch [new file with mode: 0644]
flyspray.conf [new file with mode: 0644]
flyspray.spec [new file with mode: 0644]

diff --git a/flyspray-config.patch b/flyspray-config.patch
new file mode 100644 (file)
index 0000000..77b8676
--- /dev/null
@@ -0,0 +1,18 @@
+--- flyspray-0.9.5/header.php.orig     2004-06-27 12:02:35.807830360 +0200
++++ flyspray-0.9.5/header.php  2004-06-27 12:02:51.285477400 +0200
+@@ -2,13 +2,13 @@
+ // Directory with Flyspray scripts. It's the directory where this file is
+ // located.
+-$basedir = '/var/www/flyspray';
++$basedir = '/usr/share/flyspray';
+ // Flyspray uses ADODB for database access.  You will need to install
+ // it somewhere on your server for Flyspray to function.  It can be installed
+ // inside the Flyspray directory if you wish. The next line needs to be the
+ // correct path to your adodb.inc.php file.
+-include_once ( "/usr/share/adodb/adodb.inc.php" );
++include_once ( "/usr/share/pear/adodb/adodb.inc.php" );
+ //  Modify this next line to reflect the correct path to your Flyspray
+ //  functions.inc.php file.
diff --git a/flyspray.conf b/flyspray.conf
new file mode 100644 (file)
index 0000000..dec5aac
--- /dev/null
@@ -0,0 +1 @@
+Alias /flyspray /usr/share/flyspray
diff --git a/flyspray.spec b/flyspray.spec
new file mode 100644 (file)
index 0000000..cbea514
--- /dev/null
@@ -0,0 +1,60 @@
+Summary:       Bug Tracking System
+Summary(pl):   System ¶ledzenia b³êdów
+Name:          flyspray
+Version:       0.9.5
+Release:       1
+License:       GPL
+Group:         Applications/WWW
+Source0:       http://flyspray.rocks.cc/files/%{name}-%{version}.tar.gz
+# Source0-md5: efb1c68721f43aca3b47076b5da27442
+Source1:       %{name}.conf
+Patch0:                %{name}-config.patch
+URL:           http://flyspray.rocks.cc/
+Requires:      adodb
+Requires:      php
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _sysconfdir     /etc/%{name}
+%define _appdir                %{_datadir}/%{name}
+
+%description
+Flyspray is an easy to use BTS for those who don't require all the
+complexities of something like Bugzilla.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir},/etc/httpd/httpd.conf}
+
+install f* i* r* $RPM_BUILD_ROOT%{_appdir}
+cp -r lang scripts themes $RPM_BUILD_ROOT%{_appdir}
+
+install header.php $RPM_BUILD_ROOT%{_sysconfdir}
+ln -sf %{_sysconfdir}/header.php $RPM_BUILD_ROOT%{_appdir}/header.php
+
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/99_%{name}.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/httpd ]; then
+       /usr/sbin/apachectl graceful 1>&2
+fi
+
+%postun
+if [ -f /var/lock/subsys/httpd ]; then
+       /usr/sbin/apachectl graceful 1>&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS CHANGELOG INSTALL README TODO UPGRADING sql
+%dir %{_sysconfdir}
+%attr(640,root,http) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
+%config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/99_%{name}.conf
+%{_appdir}
This page took 0.157833 seconds and 4 git commands to generate.