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