source: projects/specs/trunk/s/screenkey/screenkey-vl.spec @ 5787

Revision 5787, 2.1 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild with python-2.7.2

Line 
1Name:           screenkey
2Version:        0.2
3Release:        3%{?_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 Feb 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2-3
53- rebuild with python-2.7.2
54
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
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
Note: See TracBrowser for help on using the repository browser.