1 | Name: screenkey |
---|
2 | Version: 0.2 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: A screen-cast tool to show your keys and based on key-mon project |
---|
5 | |
---|
6 | Group: Applications/System |
---|
7 | License: GPLv3+ |
---|
8 | URL: https://launchpad.net/screenkey |
---|
9 | Source0: http://launchpad.net/screenkey/v%{version}/v%{version}/+download/screenkey-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildArch: noarch |
---|
12 | |
---|
13 | BuildRequires: python-devel |
---|
14 | Requires: python, python-xlib |
---|
15 | # for glib.get_user_cache_dir() |
---|
16 | Requires: pygobject >= 2.18 |
---|
17 | |
---|
18 | Distribution: Vine Linux |
---|
19 | Vendor: Project Vine |
---|
20 | Packager: iwaim |
---|
21 | |
---|
22 | %description |
---|
23 | A screen-cast tool to show your keys inspired by Screenflick and based on |
---|
24 | the key-mon project. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q |
---|
28 | |
---|
29 | %build |
---|
30 | CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build |
---|
31 | |
---|
32 | %install |
---|
33 | rm -rf $RPM_BUILD_ROOT |
---|
34 | mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
---|
35 | find build/lib* -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \ |
---|
36 | %{__python} setup.py install -O1 --skip-build --root %{buildroot} |
---|
37 | |
---|
38 | %clean |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | |
---|
41 | %files |
---|
42 | %defattr(-,root,root,-) |
---|
43 | %doc |
---|
44 | %{_bindir}/screenkey |
---|
45 | %{_prefix}/share/applications/screenkey.desktop |
---|
46 | #%{python_sitearch}/Screenkey |
---|
47 | #%{python_sitearch}/*egg-info |
---|
48 | %{python_sitelib}/Screenkey |
---|
49 | %{python_sitelib}/*egg-info |
---|
50 | |
---|
51 | %changelog |
---|
52 | * Wed Oct 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2-2 |
---|
53 | - fixed python path (if x86_64) |
---|
54 | - added BuildArch: noarch |
---|
55 | |
---|
56 | * Wed Oct 20 2010 IWAI, Masaharu <iwai@alib.jp> 0.2-1 |
---|
57 | - build for Vine Linux: based upstream spec file |
---|
58 | |
---|
59 | * Mon Jun 14 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.2-3 |
---|
60 | - Rebase, this is dev code. |
---|
61 | |
---|
62 | * Fri Jun 11 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-7 |
---|
63 | - Updated spec file with proper macros. |
---|
64 | |
---|
65 | * Thu Jun 10 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-6 |
---|
66 | - Added fork method so that it properly backgrounds itself. |
---|
67 | |
---|
68 | * Wed Jun 09 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-5 |
---|
69 | - Corrected build deps. Added python-devel. Corrected python-sitearch in files. |
---|
70 | |
---|
71 | * Tue Jun 08 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-1 |
---|
72 | - Initial Build |
---|