1,3 → 1,12 |
# $Id$ |
# See http://fedoraproject.org/wiki/Packaging:Python |
|
%if 0%{?rhel} && 0%{?rhel} <= 6 |
%{!?__python2: %global __python2 /usr/bin/python2} |
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} |
%endif |
|
Summary: Command-line search for Revelation Password Manager files |
Name: relevation |
Version: @VERSION@ |
9,6 → 18,7 |
Source: http://p.outlyer.net/relevation/files/relevation-%{version}.tar.gz |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildArch: noarch |
BuildRequires: python2-devel |
Requires: libxml2-python |
Requires: python-crypto |
Requires: python-lxml |
17,33 → 27,28 |
Relevation is a tool to retrieve passwords stored in a password file in the |
format used by Revelation, from the command-line instead of through a GUI. |
|
|
%prep |
%setup -q |
|
|
%build |
|
|
%install |
rm -rf %{buildroot} |
make install prefix=%{_prefix} DESTDIR=%{buildroot} |
make install prefix=%{_prefix} DESTDIR=%{buildroot} INSTALL_LAYOUT= |
# We include the extra tools as %%doc, remove from here |
rm -rf %{buildroot}%{_prefix}/share/doc/relevation/extra/ |
|
|
%clean |
rm -rf %{buildroot} |
|
|
%files |
%defattr(-,root,root,-) |
%doc CHANGELOG LICENSE |
%doc gui.py devtools/*.py |
%doc src/gui.py devtools/*.py |
%{_bindir}/relevation |
%{_mandir}/man1/relevation.1* |
${python2_sitelib}/relevation/ |
|
|
%changelog |
* Wed Oct 30 2013 Toni Corvera <outlyer@gmail.com> 1.2.1-1.pon |
- Integrated spec from Fedora into upstream source |
Property changes: |
Added: svn:keywords |
+Rev Id Date |
\ No newline at end of property |