Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bbd8c9ce6 | ||
|
|
f24a398ebf |
5 changed files with 30 additions and 2696 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -7,3 +7,5 @@ xca-0.8.1.tar.gz
|
|||
/xca-1.0.0.tar.gz
|
||||
/xca-1.1.0.tar.gz
|
||||
/xca-1.3.2.tar.gz
|
||||
/xca-1.4.0.tar.gz
|
||||
/xca-1.4.1.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
f9528164f46a78c7a2373778bc019c48 xca-1.3.2.tar.gz
|
||||
SHA512 (xca-1.4.1.tar.gz) = 8294669c4887ba7a9060c3c2c06014b8a1807898569842ed61c066e8a864de014fba51a2ff867b579048083fdd4934cc7f97c92268de4944bf4aafea9c2e7b42
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
diff -Naurp xca-1.3.2.orig/widgets/OidResolver.cpp xca-1.3.2.new/widgets/OidResolver.cpp
|
||||
--- xca-1.3.2.orig/widgets/OidResolver.cpp 2015-10-10 14:54:12.000000000 +0200
|
||||
+++ xca-1.3.2.new/widgets/OidResolver.cpp 2015-10-19 12:22:10.035130081 +0200
|
||||
@@ -23,7 +23,8 @@ void OidResolver::searchOid(QString s)
|
||||
bool ok;
|
||||
int n;
|
||||
|
||||
- input->setText(s);
|
||||
+ if (input->text() != s) // Avoid moving the cursor at end if unchanged.
|
||||
+ input->setText(s);
|
||||
s = s.trimmed();
|
||||
n = s.toUInt(&ok);
|
||||
if (!ok)
|
||||
File diff suppressed because it is too large
Load diff
68
xca.spec
68
xca.spec
|
|
@ -1,14 +1,15 @@
|
|||
%global gitproject0 xca
|
||||
%global gitowner0 chris2511
|
||||
|
||||
Summary: Graphical X.509 certificate management tool
|
||||
Name: xca
|
||||
Version: 1.3.2
|
||||
Release: 7%{?dist}
|
||||
Version: 1.4.1
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Productivity
|
||||
URL: http://xca.hohnstaedt.de/
|
||||
Source0: http://downloads.sourceforge.net/sourceforge/xca/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: xca-1.3.2-oidfieldcursor.patch
|
||||
Patch2: xca-1.3.2-openssl11.patch
|
||||
BuildRequires: qt4-devel openssl-devel
|
||||
URL: https://hohnstaedt.de/xca/
|
||||
Source0: https://github.com/%{gitowner0}/%{gitproject0}/releases/download/RELEASE.%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt5-devel openssl-devel
|
||||
BuildRequires: xdg-utils
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: linuxdoc-tools
|
||||
|
|
@ -36,16 +37,13 @@ format, portable across operating systems.
|
|||
#-------------------------------------------------------------------------------
|
||||
|
||||
%setup -q
|
||||
%patch1 -p 1 -b .oidfieldcursor
|
||||
%patch2 -p 1 -b .openssl11
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%build
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
%configure CXXFLAGS="${RPM_OPT_FLAGS} \
|
||||
-DXCA_DEFAULT_QT_TRANSLATE=\"\\\"%{_datadir}/qt4/translations\\\"\"" \
|
||||
%configure CXXFLAGS="${RPM_OPT_FLAGS}" \
|
||||
STRIP=: \
|
||||
LIBS="-Wl,-as-needed"
|
||||
make %{?_smp_mflags}
|
||||
|
|
@ -107,35 +105,6 @@ rm -rf "${RPM_BUILD_ROOT}%{_docdir}/xca"
|
|||
-e 's/.*\([a-z][a-z]\).qm$/%lang(\1) &/' > langfiles
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%post
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%posttrans
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||
update-desktop-database &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%postun
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
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 -f langfiles
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
@ -159,6 +128,23 @@ fi
|
|||
%changelog
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
* Wed Apr 18 2018 Patrick Monnerat <patrick@monnerat.net> 1.4.1-1
|
||||
- New upstream release.
|
||||
- New URL and source location.
|
||||
Fixes BZ #1568760.
|
||||
|
||||
* Wed Mar 7 2018 Patrick Monnerat <patrick@monnerat.net> 1.4.0-3
|
||||
- "Modernize" spec file.
|
||||
- BR gcc-g++.
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2018 Patrick Monnerat <patrick@monnerat.net> 1.4.0-1
|
||||
- New upstream release 1.4.0.
|
||||
- Use qt5.
|
||||
- Remove obsolete rpm scriptlets.
|
||||
|
||||
* Mon Aug 7 2017 Patrick Monnerat <patrick@monnerat.net> 1.3.2-7
|
||||
- Remove xca_db_stat from install (fixes FTBFS on rawhide).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue