%define datever 20061216 Name: MyPasswordSafe Version: 0.6.7 Release: 0.2.%{datever}%{?dist} Summary: A graphical password management tool Group: Applications/Databases License: GPL URL: http://www.semanticgap.com/myps/ Source0: http://www.semanticgap.com/myps/release/MyPasswordSafe-%{datever}.src.tgz Source1: MyPasswordSafe.desktop Patch0: MyPasswordSafe-20061216-use-system-uuid.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: boost-devel, qt-devel, uuid-devel, libXScrnSaver-devel BuildRequires: desktop-file-utils %description MyPasswordSafe is a straight-forward, easy-to-use password manager that maintains compatibility with Password Safe files. MyPasswordSafe has the following features: * Safes are encrypted when they are stored to disk. * Passwords never have to be seen, because they are copied to the clipboard * Random passwords can be generated. * Window size, position, and column widths are remembered. * Passwords remain encrypted until they need to be decrypted at the dialog and file levels. * A safe can be made active so it will always be opened when MyPasswordSafe starts. * Supports Unicode in the safes * Languages supported: English and French %prep %setup -q -n %{name}-%{datever} # Use the system installed ossp-uuid lib %patch0 -p1 -b .use-system-uuid.patch %build unset QTDIR || : ; . /etc/profile.d/qt.sh make %{?_smp_mflags} PREFIX=%{_prefix} %install rm -rf $RPM_BUILD_ROOT make install PREFIX=$RPM_BUILD_ROOT%{_prefix} # Remove the docs, they are in the wrong place. rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc desktop-file-install --vendor="fedora" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog CHANGES COPYING README doc/manual.html doc/sshots/*.jpg %{_bindir}/MyPasswordSafe %{_datadir}/MyPasswordSafe %{_datadir}/applications/fedora-MyPasswordSafe.desktop %changelog * Fri Jul 06 2007 Ralf Ertzinger 0.6.7-0.2.20061216 - Initial build for Fedora