]>
Commit | Line | Data |
---|---|---|
bdaa144d | 1 | Summary: Platform independent hotkey handling for Gtk+ applications |
2 | Name: gtkhotkey | |
3 | Version: 0.2.1 | |
4 | Release: 0.1 | |
5 | License: LGPL v3+ | |
6 | Group: Libraries | |
7 | Source0: https://launchpad.net/gtkhotkey/0.2/0.2.1/+download/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: bfdc73e68e9adbe0d506d31a25862914 | |
9 | URL: https://launchpad.net/gtkhotkey | |
10 | BuildRequires: pkgconfig | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Platform independent hotkey handling for Gtk+ applications. | |
15 | ||
16 | %package devel | |
17 | Summary: Gtk Hotkey library header files for development | |
18 | Group: Development/Libraries | |
19 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
20 | ||
21 | %description devel | |
22 | Gtk Hotkey library header files for development. | |
23 | ||
24 | %package static | |
25 | Summary: Static Gtk Hotkey library | |
26 | Group: Development/Libraries | |
27 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
28 | ||
29 | %description static | |
30 | Static Gtk Hotkey library. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %configure | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %post -p /sbin/ldconfig | |
51 | %postun -p /sbin/ldconfig | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS NEWS README | |
56 | %attr(755,root,root) %{_libdir}/libgtkhotkey.so.*.*.* | |
57 | %attr(755,root,root) %ghost %{_libdir}/libgtkhotkey.so.1 | |
58 | ||
59 | %files devel | |
60 | %defattr(644,root,root,755) | |
61 | %{_includedir}/%{name}-1.0 | |
62 | %{_pkgconfigdir}/*.pc | |
63 | #%{_gtkdocdir}/%{name} | |
64 | ||
65 | %files static | |
66 | %defattr(644,root,root,755) | |
67 | %{_libdir}/libgtkhotkey.a |