rpms/mantis/devel mantis.spec, 1.11, 1.12 .cvsignore, 1.3, 1.4 sources, 1.8, 1.9 needs.rebuild, 1.1, NONE
Gianluca Sforna (giallu)
fedora-extras-commits at redhat.com
Tue Oct 10 11:50:36 UTC 2006
- Previous message: rpms/wcstools/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 wcstools.spec, 1.3, 1.4 wcstools3-codewarn.patch, 1.1, 1.2 wcstools3-tmpfile.patch, 1.1, NONE
- Next message: rpms/libsigc++/FC-4 .cvsignore, 1.3, 1.4 libsigc++.spec, 1.8, 1.9 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: giallu
Update of /cvs/extras/rpms/mantis/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18956
Modified Files:
mantis.spec .cvsignore sources
Removed Files:
needs.rebuild
Log Message:
Update to 1.0.5
Index: mantis.spec
===================================================================
RCS file: /cvs/extras/rpms/mantis/devel/mantis.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mantis.spec 22 May 2006 06:31:09 -0000 1.11
+++ mantis.spec 10 Oct 2006 11:50:35 -0000 1.12
@@ -4,21 +4,20 @@
%global cfgdir %_sysconfdir/%name
%global httpconfdir %_sysconfdir/httpd/conf.d
-%{!?release_func:%global release_func() %1%{?dist}}
-
Summary: Web-based bugtracking system
Name: mantis
-Version: 1.0.3
-Release: %release_func 1
+Version: 1.0.5
+Release: 1%{dist}
License: GPL
Group: Applications/Internet
-URL: http://mantisbt.sourceforge.net/
+URL: http://www.mantisbugtracker.com/
BuildArch: noarch
-Source0: http://download.sourceforge.net/sourceforge/mantisbt/%name-%version.tar.gz
+Source0: http://download.sourceforge.net/sourceforge/mantisbt/%{name}_%{version}.tar.gz
Patch0: mantis-1.0.0a3-iis.patch
Patch1: mantis-0.19.2-noexamplecom.patch
Patch2: mantis-1.0.0rc2-noadmin.patch
-BuildRoot: %_tmppath/%name-%version-%release-buildroot
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildRequires: diffutils
Requires: php
Requires: mantis-config
@@ -28,17 +27,15 @@
Group: Applications/Internet
Source10: mantis-httpd.conf
Provides: mantis-config = httpd
-Requires: mantis = %version-%release
-Requires: %httpconfdir
+Requires: mantis = %{version}-%{release}
+Requires: %{httpconfdir}
Requires: mod_ssl
Requires(post): httpd
Requires(postun): httpd
%description
-Mantis is a web-based bugtracking system. It is in active development
-and is considered beta.
-
+Mantis is a web-based bugtracking system.
It is written in the PHP scripting language and requires the MySQL
database and a webserver. Mantis has been installed on Windows, MacOS,
OS/2, and a variety of Unix operating systems. Any web browser should
@@ -46,14 +43,12 @@
GNU General Public License (GPL).
%description config-httpd
-Mantis is a web-based bugtracking system. It is in active development
-and is considered beta.
-
+Mantis is a web-based bugtracking system.
This package contains configuration-files for Apache httpd 2.
%prep
-%setup -q
+%setup -q -n %{name}_%{version}
%patch0 -p1 -b .iis
%patch1 -p1 -b .noexamplecom
%patch2 -p1 -b .noadmin
@@ -63,25 +58,25 @@
%install
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf "${RPM_BUILD_ROOT}"
-%__install -d -m755 $RPM_BUILD_ROOT%pkgdir
-%__install -d -m750 $RPM_BUILD_ROOT%cfgdir
+%{__install} -d -m755 ${RPM_BUILD_ROOT}%{pkgdir}
+%{__install} -d -m750 ${RPM_BUILD_ROOT}%{cfgdir}
-tar cf - . | tar xf - -C $RPM_BUILD_ROOT%pkgdir
+tar cf - . | tar xf - -C ${RPM_BUILD_ROOT}%{pkgdir}
-find $RPM_BUILD_ROOT \( \
+find ${RPM_BUILD_ROOT} \( \
-name '*.noexamplecom' -o -name '*.iis' -o -name '*.noadmin' -o -name '*.#.*' -o \
-name '.cvsignore' \
\) -print0 | xargs -0 rm -f
## Do not rename; the *existence* of this file will be checked to
## determine if mantis is offline
-mv $RPM_BUILD_ROOT%pkgdir/mantis_offline.php.sample $RPM_BUILD_ROOT%cfgdir/
-mv $RPM_BUILD_ROOT%pkgdir/config_inc.php.sample $RPM_BUILD_ROOT%cfgdir/config_inc.php
+mv ${RPM_BUILD_ROOT}%{pkgdir}/mantis_offline.php.sample ${RPM_BUILD_ROOT}%{cfgdir}/
+mv ${RPM_BUILD_ROOT}%{pkgdir}/config_inc.php.sample ${RPM_BUILD_ROOT}%{cfgdir}/config_inc.php
-for i in $(find $RPM_BUILD_ROOT -type f -regex '.*\.\(php\|txt\|gif\|png\|css\|htm\|dtd\|xsl\|sql\|js\|bak\|xml\|zip\)$' -perm +0111); do
+for i in $(find ${RPM_BUILD_ROOT} -type f -regex '.*\.\(php\|txt\|gif\|png\|css\|htm\|dtd\|xsl\|sql\|js\|bak\|xml\|zip\)$' -perm +0111); do
case $i in
(*.php)
if ! sed '1p;d' "$i" | grep -q '^#!'; then
@@ -95,27 +90,27 @@
esac
done
-chmod -x $RPM_BUILD_ROOT%pkgdir/{doc/*,core/phpmailer/{README,LICENSE}}
+chmod -x ${RPM_BUILD_ROOT}%{pkgdir}/{doc/*,core/phpmailer/{README,LICENSE}}
-ln -s %cfgdir/config_inc.php $RPM_BUILD_ROOT%pkgdir/config_inc.php
-ln -s %cfgdir/mantis_offline.php $RPM_BUILD_ROOT%pkgdir/mantis_offline.php
+ln -s %{cfgdir}/config_inc.php ${RPM_BUILD_ROOT}%{pkgdir}/config_inc.php
+ln -s %{cfgdir}/mantis_offline.php ${RPM_BUILD_ROOT}%{pkgdir}/mantis_offline.php
## The httpd config-files
function subst() {
- f=$RPM_BUILD_ROOT$1
- sed -e 's!/usr/share/mantis!%pkgdir!g' "$f" >"$f".tmp
+ f=${RPM_BUILD_ROOT}$1
+ sed -e 's!/usr/share/mantis!%{pkgdir}!g' "$f" >"$f".tmp
cmp -s "$f" "$f.tmp" || cat "$f.tmp" >"$f"
rm -f "$f.tmp"
}
-%__install -d $RPM_BUILD_ROOT%httpconfdir
-%__install -p -m644 %SOURCE10 $RPM_BUILD_ROOT%httpconfdir/mantis.conf
-subst %httpconfdir/mantis.conf
+%{__install} -d ${RPM_BUILD_ROOT}%{httpconfdir}
+%{__install} -p -m644 %{SOURCE10} ${RPM_BUILD_ROOT}%{httpconfdir}/mantis.conf
+subst %{httpconfdir}/mantis.conf
%clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf "${RPM_BUILD_ROOT}"
%post config-httpd
@@ -127,17 +122,20 @@
%files
%defattr(-,root,root,-)
-%pkgdir
-%attr(-,root,apache) %dir %cfgdir
-%attr(0640,root,apache) %config(noreplace) %cfgdir/*
+%{pkgdir}
+%attr(-,root,apache) %dir %{cfgdir}
+%attr(0640,root,apache) %config(noreplace) %{cfgdir}/*
%files config-httpd
%defattr(-,root,root,-)
-%config(noreplace) %httpconfdir/*
+%config(noreplace) %{httpconfdir}/*
%changelog
+* Tue Oct 10 2006 Gianluca Sforna <giallu gmail com> - 1.0.5-1
+- updated to 1.0.5
+
* Sat May 20 2006 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1.0.3-1
- updated to 1.0.3 (SECURITY)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mantis/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 8 Mar 2005 18:21:20 -0000 1.3
+++ .cvsignore 10 Oct 2006 11:50:35 -0000 1.4
@@ -1,2 +1 @@
-mantis-*.tar.gz
-mantis-*.*.rpm
+mantis_1.0.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mantis/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- sources 22 May 2006 06:31:09 -0000 1.8
+++ sources 10 Oct 2006 11:50:35 -0000 1.9
@@ -1 +1 @@
-6c70d00da4cad5da2e0df387f474d3e4 mantis-1.0.3.tar.gz
+01c5fb87e5ac161a681471573711bcf6 mantis_1.0.5.tar.gz
--- needs.rebuild DELETED ---
- Previous message: rpms/wcstools/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 wcstools.spec, 1.3, 1.4 wcstools3-codewarn.patch, 1.1, 1.2 wcstools3-tmpfile.patch, 1.1, NONE
- Next message: rpms/libsigc++/FC-4 .cvsignore, 1.3, 1.4 libsigc++.spec, 1.8, 1.9 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list