rpms/xca/devel README.update, NONE, 1.1 xca-0.6.0-locale.patch, NONE, 1.1 sources, 1.4, 1.5 xca.spec, 1.13, 1.14
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Sat Mar 17 17:09:52 UTC 2007
- Previous message: rpms/xca/devel xca-0.5.1-db43.patch, 1.1, NONE xca-0.5.1-gcc4.patch, 1.1, NONE xca-0.5.1-gcc41.patch, 1.1, NONE xca-0.5.1-langinst.patch, 1.1, NONE xca-0.5.1-openssl098.patch, 1.1, NONE xca-0.5.1-sha1.patch, 1.1, NONE
- Next message: rpms/aumix/FC-5 aumix.spec,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ensc
Update of /cvs/extras/rpms/xca/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30716
Modified Files:
sources xca.spec
Added Files:
README.update xca-0.6.0-locale.patch
Log Message:
updated to 0.6.0
--- NEW FILE README.update ---
xca-0.6 uses a different database format. To convert the existing
database, execute:
1. Install 'db_dump' from the db4-utils package:
| yum install db4-utils
2. Read /usr/share/xca/xca-2.html for further instructions
xca-0.6.0-locale.patch:
--- NEW FILE xca-0.6.0-locale.patch ---
2007-03-17 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
* lib/main.c: use correct locale for the xca.qm file
* lib/main.c: [SECURITY] do not load qt.qm file from current
directory
--- xca-0.6.0/lib/main.cpp.locale 2007-03-16 20:34:51.000000000 +0100
+++ xca-0.6.0/lib/main.cpp 2007-03-17 17:41:36.000000000 +0100
@@ -51,6 +51,7 @@
#include <Qt/qtranslator.h>
#include <Qt/qtextcodec.h>
#include <Qt/qdir.h>
+#include <Qt/qlocale.h>
#include <Qt/qtranslator.h>
#include "widgets/MainWindow.h"
#include "lib/func.h"
@@ -79,10 +80,9 @@
default: locale="c";
}
#else
- locale = "C"; //QTextCodec::locale();
-#warning Fix locale
+ locale = QLocale::system().name();
#endif
- qtTr.load( QString( "qt_" ) + locale, "." );
+ qtTr.load( QString( "qt_" ) + locale, XCA_DEFAULT_TRANSLATE);
xcaTr.load( QString( "xca_" ) + locale, getPrefix() );
a.installTranslator( &qtTr );
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xca/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 8 Mar 2005 18:10:55 -0000 1.4
+++ sources 17 Mar 2007 17:09:19 -0000 1.5
@@ -1 +1 @@
-24e0289c189b8db2f1f15a4ddac1b1c3 xca-0.5.1.tar.gz
+9f683408a35630217e4f5250f1d14ff4 xca-0.6.0.tar.gz
Index: xca.spec
===================================================================
RCS file: /cvs/extras/rpms/xca/devel/xca.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- xca.spec 15 Sep 2006 17:52:07 -0000 1.13
+++ xca.spec 17 Mar 2007 17:09:19 -0000 1.14
@@ -4,24 +4,20 @@
Summary: Graphical X.509 certificate management tool
Name: xca
-Version: 0.5.1
-Release: %release_func 6
+Version: 0.6.0
+Release: %release_func 1
License: BSD
Group: Applications/Productivity
URL: http://www.hohnstaedt.de/xca.html
Source0: http://download.sourceforge.net/sourceforge/xca/%name-%version.tar.gz
-Patch0: %name-0.5.1-langinst.patch
-# http://cvs.sourceforge.net/viewcvs.py/xca/xca/widgets/clicklabel.cpp?r1=1.3&r2=1.4&diff_format=u
-Patch1: %name-0.5.1-gcc4.patch
-Patch2: %name-0.5.1-db43.patch
-Patch3: %name-0.5.1-gcc41.patch
-Patch4: %name-0.5.1-openssl098.patch
-Patch5: %name-0.5.1-sha1.patch
+Source1: README.update
+Patch0: xca-0.6.0-locale.patch
BuildRoot: %_tmppath/%name-%version-%release-buildroot
-BuildRequires: qt-devel openssl-devel
-BuildRequires: /usr/include/db.h
+BuildRequires: qt4-devel openssl-devel
+BuildRequires: db4-devel
BuildRequires: desktop-file-utils
+BuildRequires: ImageMagick
%description
@@ -35,38 +31,37 @@
%prep
%setup -q
-%patch0 -p0 -b .langinst
-%patch1 -p2 -b .gcc4
-%patch2 -p1 -b .db43
-%patch3 -p1 -b .gcc41
-%patch4 -p1 -b .openssl098
-%patch5 -p1 -b .sha1
-
-dblibs=$(echo /usr/%_lib/libdb_cxx*.so | tac | sed -e 's!.*lib\(db[^ ]*\)\.so!\1!g')
-sed -i "s! db_cxx-4 ! ${dblibs} !g" configure
-
-mkdir -p _tmp_root/usr
-ln -s /usr/%_lib _tmp_root/usr/lib
-ln -s /%_lib _tmp_root/lib
+%patch0 -p1 -b .locale
+
+install -p -m644 %SOURCE1 '.'
%build
-test -n "$QTDIR" || . %_sysconfdir/profile.d/qt.sh
-CC='%__cc' LD='%__ld' CFLAGS="$RPM_OPT_FLAGS" STRIP=: prefix=%_prefix \
-./configure `pwd`/_tmp_root{,/usr}
+#test -n "$QTDIR" || . %_sysconfdir/profile.d/qt.sh
+export QTDIR=%_libdir/qt4
+CC='%__cc' LD='%__ld' CFLAGS="$RPM_OPT_FLAGS -DXCA_DEFAULT_TRANSLATE=\\\"%_datadir/qt4/translations\\\"" STRIP=: prefix=%_prefix \
+./configure %_libdir
%__make %{?_smp_mflags}
-lrelease xca.pro
+
+convert img/xca.ico xca.png
%install
rm -rf "$RPM_BUILD_ROOT"
-%__make destdir="$RPM_BUILD_ROOT" mandir=share/man install
-%__install -d -m755 $RPM_BUILD_ROOT%_datadir/applications
+make destdir="$RPM_BUILD_ROOT" mandir=share/man install
+make destdir="$RPM_BUILD_ROOT" mandir=share/man install -C misc TOPDIR=..
+
+# HACK: check whether workarounds below are still necessary
+test ! -e $RPM_BUILD_ROOT%_datadir/xca/crl.png
-desktop-file-install --vendor fedora -m644 --delete-original \
+install -d -m755 $RPM_BUILD_ROOT%_datadir/{applications,pixmaps}
+install -p -m644 img/*.png $RPM_BUILD_ROOT%_datadir/xca
+install -p -m644 xca.png $RPM_BUILD_ROOT%_datadir/pixmaps/
+
+desktop-file-install --vendor fedora --mode 0644 \
--dir $RPM_BUILD_ROOT%_datadir/applications \
- --add-category X-Fedora \
+ --delete-original \
$RPM_BUILD_ROOT%_datadir/applications/xca.desktop
@@ -76,15 +71,15 @@
%files
%defattr(-,root,root,-)
-%doc AUTHORS COPYRIGHT
-%doc debian/changelog
+%doc AUTHORS COPYRIGHT CREDITS README.update
%_bindir/*
-%_mandir/*/*
+%attr(0644,root,root) %_mandir/*/*
%dir %{_datadir}/xca
%_datadir/xca/*.png
%_datadir/xca/*.txt
%_datadir/xca/*.html
-%_datadir/pixmaps/*.xpm
+%_datadir/xca/*.xca
+%_datadir/pixmaps/*.png
%lang(de) %_datadir/xca/xca_de.qm
%lang(es) %_datadir/xca/xca_es.qm
@@ -92,6 +87,10 @@
%changelog
+* Sat Mar 17 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.6.0-1
+- updated to 0.6.0
+- removed old patches
+
* Fri Sep 15 2006 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.5.1-6
- rebuilt
- Previous message: rpms/xca/devel xca-0.5.1-db43.patch, 1.1, NONE xca-0.5.1-gcc4.patch, 1.1, NONE xca-0.5.1-gcc41.patch, 1.1, NONE xca-0.5.1-langinst.patch, 1.1, NONE xca-0.5.1-openssl098.patch, 1.1, NONE xca-0.5.1-sha1.patch, 1.1, NONE
- Next message: rpms/aumix/FC-5 aumix.spec,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list