Summary: Password Safe is a password database utility Name: passwordsafe %global upstream_name pwsafe Version: 1.19.1 Release: 1%{?dist} License: Artistic2.0 URL: https://pwsafe.org/ Source: https://github.com/%{upstream_name}/%{upstream_name}/archive/%{version}.tar.gz#downloadsas=%{upstream_name}-%{version}.tar.gz Patch0: %{name}-%{version}-package-rename.patch BuildRequires: cmake, desktop-file-utils, file-devel, gcc-c++, gettext, git, gtest-devel, libXt-devel, libXtst-devel, libcurl-devel, libuuid-devel, libyubikey-devel, make, openssl-devel, perl, qrencode-devel, rpmdevtools, rpm-sign, (wxGTK-devel without wxGTK3-devel), xerces-c-devel, ykpers-devel, zip Requires: wxGTK %{?el7:Requires: epel-release, wxGTK, xerces-c, ykpers} %description Password Safe is a password database utility. Like many other such products, commercial and otherwise, it stores your passwords in an encrypted file, allowing you to remember only one password (the "safe combination"), instead of all the username/password combinations that you use. %prep %autosetup -p1 -n %{upstream_name}-%{version} %build %global _hardened_build 1 %global debug_package %{nil} %global _vpath_builddir build %cmake -B %{_vpath_builddir} -D NO_GTEST=ON %cmake_build #unicoderelease I18N help %install %global hicoloriconsdir %{_datadir}/icons/hicolor # was for debug-strippable build, busted since 1.06BETA: %__install -D -m 755 src/ui/wxWidgets/GCCUnicodeDebug/%{upstream_name} %{buildroot}%{_bindir}/%{name} # from 1.14, builds use cmake, which uses these src/build directory macros: # Macro Name. Default Value. # _vpath_srcdir . # _vpath_builddir _target_platform %__install -D -m 755 %_vpath_builddir/%{upstream_name} %{buildroot}%{_bindir}/%{name} %__mv %_vpath_srcdir/install/desktop/{%{upstream_name},%{name}}.desktop && \ desktop-file-install --dir=%{buildroot}%{_datadir}/applications --set-icon=%{name} --set-key=Exec --set-value="%{name} %%f" install/desktop/%{name}.desktop %__install -D -m 644 %_vpath_srcdir/install/graphics/48x48/%{upstream_name}.png %{buildroot}%{hicoloriconsdir}/48x48/apps/%{name}.png %__install -D -m 644 %_vpath_srcdir/install/graphics/128x128/%{upstream_name}.png %{buildroot}%{hicoloriconsdir}/128x128/apps/%{name}.png %__install -D -m 644 %_vpath_srcdir/docs/%{upstream_name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 && \ %__gzip -9 %{buildroot}%{_mandir}/man1/%{name}.1 %__install -D -m 644 -t %{buildroot}%{_datadir}/%{name}/xml %_vpath_srcdir/xml/* %__install -D -m 644 -t %{buildroot}%{_pkgdocdir}/help %_vpath_builddir/help/help*.zip %__install -d -m 755 %{buildroot}%{_datadir}/locale && \ %__cp -a %_vpath_builddir/src/ui/wxWidgets/I18N/mos/* "$_" && \ find "$_" -name *.mo -exec rename %{upstream_name} %{name} {} + && \ %find_lang %{name} %post touch --no-create %{hicoloriconsdir} &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{hicoloriconsdir} &>/dev/null gtk-update-icon-cache %{hicoloriconsdir} &>/dev/null || : fi %posttrans gtk-update-icon-cache %{hicoloriconsdir} &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %license LICENSE %doc README.md docs/ChangeLog.txt install/copyright %{_bindir}/%{name} %{_datadir}/applications/* %{hicoloriconsdir}/*/apps/* %{_datadir}/%{name} %{_pkgdocdir}/* %{_mandir}/*/* %changelog * Fri Jul 05 2024 Honore Doktorr - 1.19.1-1 - New upstream release * Wed Jan 24 2024 Honore Doktorr - 1.18.2-1 - New upstream release * Tue Oct 24 2023 Honore Doktorr - 1.18-1 - New upstream release * Sun Jul 02 2023 Honore Doktorr - 1.17-1 - New upstream release * Sat Jan 07 2023 Honore Doktorr - 1.16-1 - New upstream release * Thu Jul 14 2022 Honore Doktorr - 1.15-1 - New upstream release - Isolated pointer casting change to allow builds using wxWidgets 3.1+ - Changes for Fedora 37 rawhide build support * Wed Nov 03 2021 Honore Doktorr - 1.14-1 - New upstream release * Wed Mar 17 2021 Honore Doktorr - 1.13-1 - New upstream release - In src/ui/wxWidgets, updated Makefile with new sources from CMakeLists.txt * Wed Dec 09 2020 Honore Doktorr - 1.12-1 - New upstream release * Thu Sep 24 2020 Honore Doktorr - 1.11-1 - New upstream release * Mon Jan 06 2020 Honore Doktorr - 1.09-1 - New upstream release - Now requires libmagic devel package, file-devel, for magic.h * Thu Nov 14 2019 Honore Doktorr - 1.08.2BETA-1 - Changes for Fedora 30 & 31 build * Wed Feb 20 2019 Honore Doktorr - 1.07BETA-1 - Changes for Fedora 29 build - BuildRequires now explicitly includes libcurl-devel and openssl-devel * Fri Sep 21 2018 Honore Doktorr - 1.06BETA-1 - New upstream release * Sat Jul 28 2018 Honore Doktorr - 1.05BETA-1 - Changes for Fedora 27 & 28 build - BuildRequires now explicitly includes perl and zip * Sat Nov 11 2017 Honore Doktorr - 1.03BETA-1 - Changes for Fedora 26 build * Wed Aug 02 2017 Honore Doktorr - 1.02BETA-2 - Follow current Fedora Packaging Guidelines - Changes for Fedora 26 build * Wed May 10 2017 Honore Doktorr - 1.02BETA-1 - Changes for Fedora 25 build * Tue Aug 02 2016 Honore Doktorr - 0.99BETA-1 - Changes for Fedora 24 build * Mon Mar 14 2016 Honore Doktorr - 0.98.1BETA-5 - Changes for el7 build - Changes for Fedora 23 build (release target = empty debuginfo & broken build) - Renamed package to avoid conflict with the Nicholas S. Dade command-line pwsafe - Included fix for [eea4ef] Fixed broken Linux Makefile-based build * Tue Sep 29 2015 Rony Shapiro - 0.97BETA-4 - Rename package to passwordsafe to avoid conflict with command-line pwsafe * Thu Oct 24 2013 Johan Vromans - 0.92BETA-3 - Additional buildrequires for some platforms. * Sun Sep 22 2013 Rony Shapiro - 0.92BETA-2 - Changes for YubiKey build * Sun Dec 02 2012 Rony Shapiro - 0.8BETA-2 - Streamline rpm build process under PasswordSafe source tree - Remove unwanted doc files from RPM * Thu Nov 08 2012 David Dregors - 0.8BETA-1 - Spec file created for Fedora rpm builds - First rpm build for Fedora 17