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

Revision 2137, 1.8 KB checked in by iwaim, 14 years ago (diff)

screenkey 0.2-1

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