forked from brvier/BitPurse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitpurse.spec
executable file
·38 lines (32 loc) · 985 Bytes
/
bitpurse.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Name: bitpurse
Version: 0.9.1
Release: 1
Summary: A note taking application with ownCloud sync
Group: office
License: gpl
URL: http://khertan.net/BitPurse
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
Requires: python, python-pyside, python-crypto
%description
A nice looking Blockchain.info Bitcoin Wallet Client for MeeGo, SailfishOS, NemoMobile, and Harmattan.
%prep
%setup -q -n %{name}-%{version}
find -name '__init__.py' | xargs chmod +x
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/opt/khtnotes/*
/usr/share/dbus-1/services/*
/usr/share/applications/*
/usr/share/icons/hicolor/80x80/apps/*
/usr/share/icons/hicolor/64x64/apps/*
/usr/share/icons/hicolor/128x128/apps/*
/usr/share/icons/hicolor/scalable/apps/*
%{python_sitelib}/*egg-info