Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix
loxodo
loxodo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File loxodo.spec of Package loxodo
# # spec file for package loxodo # # Copyright (c) 2011 Marcus Rueckert <darix@opensu.se> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: loxodo Version: 201405291830.fd74094 Release: 0 %define pkg_name %{name} %define pkg_version %{version} # License: GPL-2.0 Group: System/Security # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: xz %py_requires %if 0%{?suse_version} >= 1140 Suggests: python-wxWidgets # not actually required, but to make sure that dependency # exists and, if not, make the build fail: BuildRequires: python-wxWidgets %else Suggests: python-wxGTK # not actually required, but to make sure that dependency # exists and, if not, make the build fail: BuildRequires: python-wxGTK %endif # Url: http://www.christoph-sommer.de/loxodo/ Source: %{pkg_name}-%{pkg_version}.tar.xz Patch1: loxodo-module-import.patch Patch2: loxodo-fix_icon_path.patch Patch3: 164ba66d5cc08e26a07d65eec51ab93e68dedd51.patch Patch4: e530f36e1d968b4d5d5a9a221e67d4ea069011c5.patch # Summary: A Password Safe V3 compatible Password Vault %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description A Password Safe V3 compatible Password Vault written in Python. It features a WX python and commandline interface %prep %setup -n %{pkg_name}-%{pkg_version} %patch1 %patch2 %patch3 -p1 %patch4 -p1 find . -type f -name '*.py' -exec %__chmod 0644 {} \; %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} # remove broken egg file rm -rv %{buildroot}%{python_sitelib}/UNKNOWN-0.0.0-py*.egg-info/ # win ui rm -rv src/frontends/ppygui cp -av src %{buildroot}%{python_sitelib}/loxodo mv %{buildroot}%{_bindir}/loxodo{.py,} %__install -D -m0644 resources/loxodo-icon.png \ "%{buildroot}%{_datadir}/pixmaps/loxodo.png" %clean %{?buildroot:%{__rm} -rf "%{buildroot}"} %files %defattr(-,root,root,-) %{_bindir}/loxodo %{python_sitelib}/loxodo/ %{_datadir}/pixmaps/loxodo.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor