source: projects/specs/branches/6/s/screenkey/screenkey-vl.spec @ 2140

Revision 2140, 2.0 KB checked in by owa, 14 years ago (diff)

screenkey to noarch

Line 
1Name:           screenkey
2Version:        0.2
3Release:        2%{?_dist_release}
4Summary:        A screen-cast tool to show your keys and based on key-mon project
5
6Group:          Applications/System
7License:        GPLv3+
8URL:            https://launchpad.net/screenkey
9Source0:        http://launchpad.net/screenkey/v%{version}/v%{version}/+download/screenkey-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11BuildArch: noarch
12
13BuildRequires:  python-devel
14Requires:       python, python-xlib
15# for glib.get_user_cache_dir()
16Requires:       pygobject >= 2.18
17
18Distribution:   Vine Linux
19Vendor:         Project Vine
20Packager:       iwaim
21
22%description
23A screen-cast tool to show your keys inspired by Screenflick and based on
24the key-mon project.
25
26%prep
27%setup -q
28
29%build
30CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
31
32%install
33rm -rf $RPM_BUILD_ROOT
34mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
35find build/lib* -name '*.py' -exec sed -i "1{/^#!/d}" {} \; && \
36%{__python} setup.py install -O1 --skip-build --root %{buildroot}
37
38%clean
39rm -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
Note: See TracBrowser for help on using the repository browser.