Author: glen                         Date: Sat Sep 24 13:43:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix config and doc
- fix %post (thx sparky)

---- Files affected:
SPECS:
   mantis.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/mantis.spec
diff -u SPECS/mantis.spec:1.24 SPECS/mantis.spec:1.25
--- SPECS/mantis.spec:1.24      Sat Sep 24 15:29:07 2005
+++ SPECS/mantis.spec   Sat Sep 24 15:43:49 2005
@@ -3,14 +3,13 @@
 # - After upgrade from version <= 0.18.x mysql database requires upgrade!
 #
 # TODO
-# - security http://security.gentoo.org/glsa/glsa-200509-16.xml
 # - put admin/ dir to separate -setup package which can be installed only at 
first time install
 
 Summary:       The Mantis bug tracker
 Summary(pl):   Mantis - system kontroli błędów
 Name:          mantis
 Version:       0.19.2
-Release:       1.5
+Release:       1.9
 License:       GPL
 Group:         Development/Tools
 Source0:       http://dl.sourceforge.net/mantisbt/%{name}-%{version}.tar.gz
@@ -18,6 +17,8 @@
 Source1:       %{name}-doc-PLD.tar.gz
 Source2:       %{name}.conf
 Patch0:                %{name}-debian.patch
+Patch1:                %{name}-config.patch
+Patch2:                %{name}-doc.patch
 URL:           http://mantisbt.sourceforge.net/
 BuildRequires: rpmbuild(macros) >= 1.226
 Requires(triggerpostun):       sed >= 4.0
@@ -42,6 +43,8 @@
 %prep
 %setup -q -a1
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 find . -type d -name CVS | xargs rm -rf
 find . -type f -name .cvsignore | xargs rm -rf
 find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
@@ -54,7 +57,7 @@
 
 cp -af {*.php,admin,core,css,graphs,images,javascript,lang,sql} 
$RPM_BUILD_ROOT%{_mantisdir}
 
-sed -e 's/root/mysql/g' config_inc.php.sample > 
$RPM_BUILD_ROOT%{_sysconfdir}/config.php
+install config_inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
 ln -s %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_mantisdir}/config_inc.php
 
 mv 
$RPM_BUILD_ROOT{%{_mantisdir}/config_defaults_inc.php,%{_sysconfdir}/config_defaults.php}
@@ -67,10 +70,10 @@
 
 %post
 if [ "$1" = 1 ]; then
-       # TODO: use banner
+       # TODO: use banner instead
        if [ "$LANG" = "pl_PL" ]; then
-               echo "Więcej: "
-               echo " less %{_docdir}/%{name}-%{version}/PLD_Install_EN.txt.gz"
+               echo "Aby uzyskać więcej informacji o Mantisie w Linuksie PLD 
przeczytaj: "
+               echo " less %{_docdir}/%{name}-%{version}/PLD_Install_PL.txt.gz"
        else
                echo "For More information on Mantis on PLD Linux please read:"
                echo " less %{_docdir}/%{name}-%{version}/PLD_Install_EN.txt.gz"
@@ -173,6 +176,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2005/09/24 13:43:49  glen
+- fix config and doc
+- fix %post (thx sparky)
+
 Revision 1.24  2005/09/24 13:29:07  glen
 - patch from gentoo (debian): SQL injection and XSS (CAN-2005-255{6-7})
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mantis.spec?r1=1.24&r2=1.25&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to