keepassx2/keepassx2.spec

76 lines
3.0 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: keepassx2
Version: 2.0.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: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.keepassx.org/
Source: https://github.com/keepassx/keepassx.git/%{pkgver}/keepassx-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
BuildRequires: libgcrypt-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Conflicts: keepassx
%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 -n keepassx-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/keepassx
%{_libdir}/keepassx/libkeepassx-autotype-x11.so
%{_datadir}/applications/keepassx.desktop
%{_datadir}/mime/packages/keepassx.xml
%dir %{_datadir}/keepassx
%dir %{_datadir}/keepassx/icons
%dir %{_datadir}/keepassx/icons/database
%{_datadir}/keepassx/icons/application/*/apps/keepassx.png
%{_datadir}/keepassx/icons/application/*/mimetypes/application-x-keepassx.png
%{_datadir}/keepassx/icons/application/*/actions/*.png
%{_datadir}/keepassx/icons/application/*/status/*.png
%{_datadir}/keepassx/icons/application/scalable/apps/keepassx.svgz
%{_datadir}/keepassx/icons/database/*.png
%{_datadir}/icons/hicolor/*/apps/keepassx.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-keepassx.png
%{_datadir}/icons/hicolor/scalable/apps/keepassx.svgz
%{_datadir}/keepassx/translations/keepassx_*.qm
%doc COPYING
%changelog
* Thu Jan 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
- update to 2.0.3
* Wed Oct 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0_alpha6-1mamba
- update to 2.0_alpha6
* Sun Apr 01 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.4.3-1mamba
- package created by autospec