source: projects/specs/branches/6/k/keybinder/keybinder-vl.spec @ 4377

Revision 4377, 1.7 KB checked in by kudoh, 13 years ago (diff)
Line 
1%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Name:           keybinder
4Version:        0.2.2
5Release:        1%{?_dist_release}
6Summary:        library for registering global keyboard shortcuts
7
8Group:          System Environment/Libraries
9License:        GPLv2
10URL:            http://kaizer.se/wiki/keybinder/
11Source0:        http://kaizer.se/publicfiles/keybinder/%{name}-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14#BuildArch:
15BuildRequires:  gtk2-devel >= 2.20
16BuildRequires:  lua-devel
17BuildRequires:  pygtk2-devel >= 2.12
18BuildRequires:  pygobject-devel >= 2.15.3
19BuildRequires:  python-devel
20
21Requires:       lua python
22
23
24%description
25keybinder is a library for registering global keyboard shortcuts.
26Keybinder works with GTK-based applications using the X Window System.
27
28%package        devel
29Summary:        Development files for %{name}
30Summary(ja):    %{name} の開発ファイル
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33
34%description    devel
35The %{name}-devel package contains libraries and header files for
36developing extensions for %{name}.
37
38%prep
39%setup -q
40
41%build
42%configure
43make %{?_smp_mflags}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make install DESTDIR=$RPM_BUILD_ROOT
48
49rm -rf $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(-,root,root,-)
56%{_libdir}/libkey*
57%{_libdir}/lua/5.1/%{name}.*
58%{python_sitearch}/%{name}
59
60%files devel
61%defattr(-,root,root,-)
62%{_includedir}/*
63%{_libdir}/pkgconfig/*
64
65
66%changelog
67* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2
68- initial build for Vine Linux
69
70* Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.2.2
71- Initial RPM release
Note: See TracBrowser for help on using the repository browser.