Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5058ca95fa | ||
|
|
b9ef80e954 | ||
|
|
ff8eaa120c | ||
|
|
ceb9fa76fb |
4 changed files with 88 additions and 59 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -4,3 +4,5 @@ xca-0.8.1.tar.gz
|
||||||
/xca-0.9.1.tar.gz
|
/xca-0.9.1.tar.gz
|
||||||
/xca-0.9.2.tar.gz
|
/xca-0.9.2.tar.gz
|
||||||
/xca-0.9.3.tar.gz
|
/xca-0.9.3.tar.gz
|
||||||
|
/xca-1.0.0.tar.gz
|
||||||
|
/xca-1.1.0.tar.gz
|
||||||
|
|
|
||||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
||||||
5e08cf8a93f023b1b3836c203bd0a694 xca-0.9.3.tar.gz
|
645d3405938c97a3eb0450bbe20234c7 xca-1.1.0.tar.gz
|
||||||
113ba37a89fe2de69338fcfe3b773a03 README.update
|
405ca7e03469736ca963407adf97f099 README.update
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
diff -Naur xca-0.9.3.orig/lang/fr.po xca-0.9.3.new/lang/fr.po
|
|
||||||
--- xca-0.9.3.orig/lang/fr.po 2012-05-12 11:37:14.000000000 +0200
|
|
||||||
+++ xca-0.9.3.new/lang/fr.po 2012-05-14 14:33:27.386075980 +0200
|
|
||||||
@@ -1883,7 +1883,7 @@
|
|
||||||
|
|
||||||
#: PwDialog#2
|
|
||||||
msgid ""
|
|
||||||
-"The password is parsed as 2-digit hex code. It must have an equal number of "
|
|
||||||
+"The password is parsed as 2-digit hex code. It must have an even number of "
|
|
||||||
"digits (0-9 and a-f)"
|
|
||||||
msgstr ""
|
|
||||||
"Le mot de passe doit être exprimé sous forme d'une suite de chiffres "
|
|
||||||
131
xca.spec
131
xca.spec
|
|
@ -1,25 +1,19 @@
|
||||||
%{!?release_func:%global release_func() %1%{?dist}}
|
|
||||||
|
|
||||||
Summary: Graphical X.509 certificate management tool
|
Summary: Graphical X.509 certificate management tool
|
||||||
Name: xca
|
Name: xca
|
||||||
Version: 0.9.3
|
Version: 1.1.0
|
||||||
Release: %release_func 4
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/Productivity
|
Group: Applications/Productivity
|
||||||
URL: http://www.hohnstaedt.de/xca.html
|
URL: http://xca.hohnstaedt.de/
|
||||||
Source0: http://downloads.sourceforge.net/sourceforge/xca/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/sourceforge/xca/%{name}-%{version}.tar.gz
|
||||||
Source1: README.update
|
Source1: README.update
|
||||||
Patch1: xca-0.9.3-french.patch
|
|
||||||
BuildRequires: qt4-devel openssl-devel
|
BuildRequires: qt4-devel openssl-devel
|
||||||
BuildRequires: xdg-utils
|
BuildRequires: xdg-utils
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: linuxdoc-tools
|
BuildRequires: linuxdoc-tools
|
||||||
BuildRequires: libtool-ltdl-devel
|
BuildRequires: libtool-ltdl-devel
|
||||||
BuildRequires: translate-toolkit
|
BuildRequires: translate-toolkit
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
Requires(posttrans): shared-mime-info
|
|
||||||
Requires(postun): shared-mime-info
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
@ -36,27 +30,23 @@ DER, PKCS#8. All cryptographic data are stored in a byte order agnostic file
|
||||||
format, portable across operating systems.
|
format, portable across operating systems.
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%prep
|
%prep
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch1 -p 1 -b .french
|
|
||||||
|
|
||||||
mkdir -p _tmp_root/usr
|
|
||||||
ln -s "/usr/%{_lib}" _tmp_root/usr/lib
|
|
||||||
ln -s "/%{_lib}" _tmp_root/lib
|
|
||||||
ln -s "%{_includedir}/Qt" _tmp_root/include
|
|
||||||
|
|
||||||
install -p -m 644 "%{SOURCE1}" ./
|
install -p -m 644 "%{SOURCE1}" ./
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%build
|
%build
|
||||||
#test -n "${QTDIR}" || . "%{_sysconfdir}/profile.d/qt.sh"
|
#-------------------------------------------------------------------------------
|
||||||
export QTDIR="%{_libdir}/qt4"
|
|
||||||
CC='%{__cxx}' LD='%{__ld}' CFLAGS="${RPM_OPT_FLAGS} \
|
%configure CXXFLAGS="${RPM_OPT_FLAGS} \
|
||||||
-DXCA_DEFAULT_QT_TRANSLATE=\"\\\"%{_datadir}/qt4/translations\\\"\"" \
|
-DXCA_DEFAULT_QT_TRANSLATE=\"\\\"%{_datadir}/qt4/translations\\\"\"" \
|
||||||
STRIP=: prefix="%{_prefix}" \
|
STRIP=: \
|
||||||
LIBS="-Wl,-as-needed `pkg-config --libs QtGui`" \
|
LIBS="-Wl,-as-needed"
|
||||||
./configure "`pwd`/"_tmp_root{,/usr}
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
convert img/xca.ico xca.png
|
convert img/xca.ico xca.png
|
||||||
|
|
@ -64,14 +54,12 @@ touch -r img/xca.ico xca.png
|
||||||
convert img/xdb.ico xdb.png
|
convert img/xdb.ico xdb.png
|
||||||
touch -r img/xdb.ico xdb.png
|
touch -r img/xdb.ico xdb.png
|
||||||
|
|
||||||
iconv -f iso8859-1 -t utf8 AUTHORS > AUTHORS.utf8
|
|
||||||
touch -r AUTHORS AUTHORS.utf8
|
|
||||||
mv AUTHORS.utf8 AUTHORS
|
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%install
|
%install
|
||||||
make destdir="${RPM_BUILD_ROOT}" mandir=share/man install
|
#-------------------------------------------------------------------------------
|
||||||
make destdir="${RPM_BUILD_ROOT}" mandir=share/man install.misc
|
|
||||||
|
make destdir="${RPM_BUILD_ROOT}" install
|
||||||
|
|
||||||
# HACK: check whether workarounds below are still necessary
|
# HACK: check whether workarounds below are still necessary
|
||||||
if test ! -e "${RPM_BUILD_ROOT}%{_datadir}/xca/crl.png"
|
if test ! -e "${RPM_BUILD_ROOT}%{_datadir}/xca/crl.png"
|
||||||
|
|
@ -89,45 +77,74 @@ xdg-icon-resource install --noupdate --context mimetypes \
|
||||||
--size 32 xdb.png application-x-xca-database
|
--size 32 xdb.png application-x-xca-database
|
||||||
xdg-icon-resource install --noupdate --size 32 xca.png fedora-xca
|
xdg-icon-resource install --noupdate --size 32 xca.png fedora-xca
|
||||||
|
|
||||||
|
# Replace the desktop icon.
|
||||||
|
rm -rf "${RPM_BUILD_ROOT}%{_datadir}/pixmaps/xca-32x32.xpm"
|
||||||
|
cp -a img/key.xpm "${RPM_BUILD_ROOT}%{_datadir}/pixmaps/xca.xpm"
|
||||||
|
|
||||||
desktop-file-install --mode 0644 \
|
desktop-file-install --mode 0644 \
|
||||||
--dir "${RPM_BUILD_ROOT}%{_datadir}/applications" \
|
--dir "${RPM_BUILD_ROOT}%{_datadir}/applications" \
|
||||||
--delete-original \
|
--delete-original \
|
||||||
--add-mime-type application/x-xca-database \
|
--add-mime-type application/x-xca-database \
|
||||||
--remove-category QT \
|
--remove-category QT \
|
||||||
|
--set-icon=xca \
|
||||||
"${RPM_BUILD_ROOT}%{_datadir}/applications/xca.desktop"
|
"${RPM_BUILD_ROOT}%{_datadir}/applications/xca.desktop"
|
||||||
|
|
||||||
|
# Will build the doc directory ourself.
|
||||||
|
|
||||||
|
rm -rf "${RPM_BUILD_ROOT}%{_docdir}/xca"
|
||||||
|
|
||||||
|
# Tag translation files.
|
||||||
|
|
||||||
|
(
|
||||||
|
cd "${RPM_BUILD_ROOT}"
|
||||||
|
find '.%{_datadir}/xca' -name 'xca_[a-z][a-z].qm'
|
||||||
|
) |
|
||||||
|
sed -e 's/^\.//' \
|
||||||
|
-e 's/.*\([a-z][a-z]\).qm$/%lang(\1) &/' > langfiles
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%post
|
%post
|
||||||
touch --no-create "%{_datadir}/icons/hicolor" || :
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
%preun
|
touch --no-create %{_datadir}/icons/hicolor || :
|
||||||
touch --no-create "%{_datadir}/icons/hicolor" || :
|
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%posttrans
|
%posttrans
|
||||||
gtk-update-icon-cache "%{_datadir}/icons/hicolor" &> /dev/null || :
|
#-------------------------------------------------------------------------------
|
||||||
update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
|
||||||
update-desktop-database &> /dev/null || :
|
|
||||||
|
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%postun
|
%postun
|
||||||
update-desktop-database &> /dev/null || :
|
#-------------------------------------------------------------------------------
|
||||||
update-mime-database "%{_datadir}/mime" &> /dev/null || :
|
|
||||||
gtk-update-icon-cache "%{_datadir}/icons/hicolor" &> /dev/null || :
|
if [ "${1}" -eq 0 ]
|
||||||
|
then touch --no-create %{_datadir}/icons/hicolor || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||||
|
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||||
|
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
#-------------------------------------------------------------------------------
|
||||||
|
%files -f langfiles
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%defattr(-, root, root, -)
|
||||||
%doc AUTHORS COPYRIGHT README.update
|
%doc AUTHORS COPYRIGHT README.update
|
||||||
|
%doc doc/*.html
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%exclude %{_bindir}/xca_db_stat
|
||||||
%dir %{_datadir}/xca
|
%dir %{_datadir}/xca
|
||||||
%{_datadir}/xca/*.png
|
%{_datadir}/xca/*.png
|
||||||
%{_datadir}/xca/*.txt
|
%{_datadir}/xca/*.txt
|
||||||
%{_datadir}/xca/*.html
|
|
||||||
%{_datadir}/xca/*.xca
|
%{_datadir}/xca/*.xca
|
||||||
%lang(de) %{_datadir}/xca/xca_de.qm
|
|
||||||
%lang(es) %{_datadir}/xca/xca_es.qm
|
|
||||||
%lang(fr) %{_datadir}/xca/xca_fr.qm
|
|
||||||
%lang(ru) %{_datadir}/xca/xca_ru.qm
|
|
||||||
%lang(tr) %{_datadir}/xca/xca_tr.qm
|
|
||||||
%{_datadir}/pixmaps/*.xpm
|
%{_datadir}/pixmaps/*.xpm
|
||||||
%{_datadir}/icons/*/*/*/*.png
|
%{_datadir}/icons/*/*/*/*.png
|
||||||
%{_datadir}/mime/packages/%{name}.*
|
%{_datadir}/mime/packages/%{name}.*
|
||||||
|
|
@ -135,7 +152,29 @@ gtk-update-icon-cache "%{_datadir}/icons/hicolor" &> /dev/null || :
|
||||||
%attr(0644, root, root) %{_mandir}/*/*
|
%attr(0644, root, root) %{_mandir}/*/*
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Mon Nov 24 2014 Patrick Monnerat <pm@datasphere.ch> 1.1.0-1
|
||||||
|
- New upstream release
|
||||||
|
|
||||||
|
* Mon Nov 17 2014 Patrick Monnerat <pm@datasphere.ch> 1.0.0-2
|
||||||
|
- Patch "nonstdext" avoids segfault when viewing cert with
|
||||||
|
non-standard extension.
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1164340
|
||||||
|
|
||||||
|
* Tue Oct 28 2014 Patrick Monnerat <pm@datasphere.ch> 1.0.0-1
|
||||||
|
- New upstream release.
|
||||||
|
Set-up a larger desktop icon.
|
||||||
|
|
||||||
|
* Tue Aug 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.3-7
|
||||||
|
- fix/update scriptlets
|
||||||
|
|
||||||
|
* Tue Apr 22 2014 Patrick Monnerat <pm@datasphere.ch> - 0.9.3-5
|
||||||
|
- Rebuild for elliptic curves inclusion.
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1089245
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
|
@ -245,7 +284,7 @@ gtk-update-icon-cache "%{_datadir}/icons/hicolor" &> /dev/null || :
|
||||||
* Thu May 19 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.5.1-2
|
* Thu May 19 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.5.1-2
|
||||||
- use %%dist instead of %%disttag
|
- use %%dist instead of %%disttag
|
||||||
|
|
||||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
* Tue Mar 8 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.5.1
|
* Tue Mar 8 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.5.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue