[2137] | 1 | Name: screenkey |
---|
| 2 | Version: 0.2 |
---|
[5787] | 3 | Release: 3%{?_dist_release} |
---|
[2137] | 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 |
---|
[2140] | 11 | BuildArch: noarch |
---|
[2137] | 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 |
---|
[2140] | 46 | #%{python_sitearch}/Screenkey |
---|
| 47 | #%{python_sitearch}/*egg-info |
---|
| 48 | %{python_sitelib}/Screenkey |
---|
| 49 | %{python_sitelib}/*egg-info |
---|
[2137] | 50 | |
---|
| 51 | %changelog |
---|
[5787] | 52 | * Wed Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2-3 |
---|
| 53 | - rebuild with python-2.7.2 |
---|
| 54 | |
---|
[2140] | 55 | * Wed Oct 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2-2 |
---|
| 56 | - fixed python path (if x86_64) |
---|
| 57 | - added BuildArch: noarch |
---|
| 58 | |
---|
[2137] | 59 | * Wed Oct 20 2010 IWAI, Masaharu <iwai@alib.jp> 0.2-1 |
---|
| 60 | - build for Vine Linux: based upstream spec file |
---|
| 61 | |
---|
| 62 | * Mon Jun 14 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.2-3 |
---|
| 63 | - Rebase, this is dev code. |
---|
| 64 | |
---|
| 65 | * Fri Jun 11 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-7 |
---|
| 66 | - Updated spec file with proper macros. |
---|
| 67 | |
---|
| 68 | * Thu Jun 10 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-6 |
---|
| 69 | - Added fork method so that it properly backgrounds itself. |
---|
| 70 | |
---|
| 71 | * Wed Jun 09 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-5 |
---|
| 72 | - Corrected build deps. Added python-devel. Corrected python-sitearch in files. |
---|
| 73 | |
---|
| 74 | * Tue Jun 08 2010 Ivan Makfinsky <ivan.makfinsky@endosys.com> - 0.1.1-1 |
---|
| 75 | - Initial Build |
---|