From 9915e9f042533b8e147f2666c49e82cb6043b252 Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Sat, 6 Jan 2024 01:22:37 +0100 Subject: [PATCH] package created by autospec [release 0.4.3-1mamba;Sun Apr 01 2012] --- README.md | 4 +++ keepassx-0.4.3-gcc-4.7.patch | 12 +++++++ keepassx.spec | 64 ++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 keepassx-0.4.3-gcc-4.7.patch create mode 100644 keepassx.spec diff --git a/README.md b/README.md index 49b7ff6..8e2818a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # keepassx +KeePassX is an application for people with extremly high demands on secure personal data management. It has a light interface, is cross platform and published under the terms of the GNU General Public License. +KeePassX saves many different information e.g. user names, passwords, urls, attachments and comments in one single database. For a better management user-defined titles and icons can be specified for each single entry. Furthermore the entries are sorted in groups, which are customizable as well. The integrated search function allows to search in a single group or the complete database. +KeePassX offers a little utility for secure password generation. The password generator is very customizable, fast and easy to use. Especially someone who generates passwords frequently will appreciate this feature. + diff --git a/keepassx-0.4.3-gcc-4.7.patch b/keepassx-0.4.3-gcc-4.7.patch new file mode 100644 index 0000000..9e26e5a --- /dev/null +++ b/keepassx-0.4.3-gcc-4.7.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/random.cpp b/src/lib/random.cpp +index 1007172..f12dd1c 100644 +--- a/src/lib/random.cpp ++++ b/src/lib/random.cpp +@@ -19,6 +19,7 @@ + ***************************************************************************/ + + #include "random.h" ++#include + + + #if defined(Q_WS_X11) || defined(Q_WS_MAC) diff --git a/keepassx.spec b/keepassx.spec new file mode 100644 index 0000000..290561c --- /dev/null +++ b/keepassx.spec @@ -0,0 +1,64 @@ +Name: keepassx +Version: 0.4.3 +Release: 1mamba +Summary: keepassx is an application that allow to save password and other information to an encrypted database +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: https://www.keepassx.org/ +Source: http://dfn.dl.sourceforge.net/project/keepassx/KeePassX/%{version}/keepassx-%{version}.tar.gz +Patch0: keepassx-0.4.3-gcc-4.7.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXtst-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%description +KeePassX is an application for people with extremly high demands on secure personal data management. It has a light interface, is cross platform and published under the terms of the GNU General Public License. +KeePassX saves many different information e.g. user names, passwords, urls, attachments and comments in one single database. For a better management user-defined titles and icons can be specified for each single entry. Furthermore the entries are sorted in groups, which are customizable as well. The integrated search function allows to search in a single group or the complete database. +KeePassX offers a little utility for secure password generation. The password generator is very customizable, fast and easy to use. Especially someone who generates passwords frequently will appreciate this feature. + +%prep +%setup -q +%patch0 -p1 + +%build +sh -x translations_release.sh +qmake-qt4 \ + QMAKE_CFLAGS+="%{optflags}" \ + QMAKE_CXXFLAGS+="%{optflags}" \ + QMAKE_STRIP="true" + +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/keepassx +%{_datadir}/applications/keepassx.desktop +%{_datadir}/keepassx/i18n/*.qm +%{_datadir}/keepassx/icons/*.png +%{_datadir}/keepassx/license.html +%{_datadir}/mime/packages/keepassx.xml +%{_datadir}/mimelnk/application/x-keepass.desktop +%{_datadir}/pixmaps/keepassx.xpm +%doc COPYING + +%changelog +* Sun Apr 01 2012 Ercole 'ercolinux' Carpanetto 0.4.3-1mamba +- package created by autospec