Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:playground
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/ # %define python_ver python %if %{python_ver} == python %define python_ver_sitelib %{python_sitelib} %else %define python_ver_sitelib %{python3_sitelib} %endif Name: loxodo Version: 0 Release: 0 %define pkg_name %{name} %define pkg_version %{version} # License: GPL-2.0 Group: Productivity/Security # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_ver}-devel BuildRequires: %{python_ver}-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: 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 find . -type f -name '*.py' -exec %__chmod 0644 {} \; %build %{python_ver} setup.py build %install %{python_ver} setup.py install --prefix=%{_prefix} --root=%{buildroot} # win ui rm -rv src/frontends/ppygui install -d %{buildroot}%{python_ver_sitelib}/loxodo/ pushd %{buildroot}%{python_ver_sitelib}/ mv locale resources src/* loxodo/ popd 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_ver_sitelib}/loxodo/ %{python_ver_sitelib}/Loxodo-*.egg-info %{_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