]>
Commit | Line | Data |
---|---|---|
1f1189ae | 1 | Summary: A keyboard configuration library |
4a919f16 | 2 | Summary(pl.UTF-8): Biblioteka do konfiguracji klawiatury |
1f1189ae | 3 | Name: libgnomekbd |
e414512b | 4 | Version: 3.26.1 |
87f100dd | 5 | Release: 1 |
59601b62 | 6 | License: LGPL v2+ |
c5806e52 | 7 | Group: X11/Libraries |
2a7455e8 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnomekbd/3.26/%{name}-%{version}.tar.xz |
e414512b | 9 | # Source0-md5: 98040022484406e7ebe25f82cef93344 |
1f1189ae | 10 | URL: http://www.gnome.org/ |
18f280e8 | 11 | BuildRequires: autoconf >= 2.62 |
59601b62 | 12 | BuildRequires: automake >= 1:1.9 |
b8d3f3d1 | 13 | BuildRequires: gettext-tools >= 0.19.4 |
ff380fab | 14 | BuildRequires: glib2-devel >= 1:2.18.0 |
18f280e8 MB |
15 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
16 | BuildRequires: gtk+3-devel >= 3.0.0 | |
1f1189ae | 17 | BuildRequires: libtool |
5faf4b53 | 18 | BuildRequires: libxklavier-devel >= 5.2 |
1f1189ae | 19 | BuildRequires: pkgconfig |
18f280e8 | 20 | BuildRequires: rpmbuild(macros) >= 1.593 |
ff380fab | 21 | BuildRequires: tar >= 1:1.22 |
6c78dc95 | 22 | BuildRequires: xorg-lib-libX11-devel |
ff380fab | 23 | BuildRequires: xz |
4a919f16 | 24 | Requires(post,postun): /sbin/ldconfig |
18f280e8 | 25 | Requires(post,postun): glib2 >= 1:2.26.0 |
6c78dc95 | 26 | Requires: libxklavier >= 5.2 |
d1544c79 | 27 | Conflicts: control-center < 1:2.17.92 |
1f1189ae MB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | The libgnomekbd package contains a GNOME library which manages | |
32 | keyboard configuration and offers various widgets related to keyboard | |
33 | configuration. | |
34 | ||
4a919f16 JB |
35 | %description -l pl.UTF-8 |
36 | Pakiet libgnomekbd zawiera bibliotekę GNOME zarządzającą konfiguracją | |
37 | klawiatury i oferującą różne widgety związane z konfiguracją | |
38 | klawiatury. | |
39 | ||
1f1189ae MB |
40 | %package devel |
41 | Summary: Header files for libgnomekbd | |
4a919f16 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgnomekbd |
c5806e52 | 43 | Group: X11/Development/Libraries |
1f1189ae | 44 | Requires: %{name} = %{version}-%{release} |
18f280e8 | 45 | Requires: gtk+3-devel >= 3.0.0 |
5faf4b53 | 46 | Requires: libxklavier-devel >= 5.2 |
1f1189ae MB |
47 | |
48 | %description devel | |
49 | Header files for libgnomekbd. | |
50 | ||
4a919f16 JB |
51 | %description devel -l pl.UTF-8 |
52 | Pliki nagłówkowe biblioteki libgnomekbd. | |
53 | ||
1f1189ae MB |
54 | %package static |
55 | Summary: Static libgnomekbd library | |
4a919f16 | 56 | Summary(pl.UTF-8): Statyczna biblioteka libgnomekbd |
c5806e52 | 57 | Group: X11/Development/Libraries |
1f1189ae MB |
58 | Requires: %{name}-devel = %{version}-%{release} |
59 | ||
60 | %description static | |
61 | Static libgnomekbd library. | |
62 | ||
4a919f16 JB |
63 | %description static -l pl.UTF-8 |
64 | Statyczna biblioteka libgnomekbd. | |
65 | ||
1f1189ae MB |
66 | %prep |
67 | %setup -q | |
7c41d340 | 68 | |
1f1189ae | 69 | %build |
1f1189ae MB |
70 | %{__libtoolize} |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__automake} | |
74 | %configure \ | |
c1a4ac79 | 75 | --disable-silent-rules \ |
1f1189ae MB |
76 | --enable-static |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
18f280e8 MB |
85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
86 | ||
1f1189ae MB |
87 | %find_lang %{name} |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %post | |
93 | /sbin/ldconfig | |
18f280e8 | 94 | %glib_compile_schemas |
1f1189ae MB |
95 | |
96 | %postun | |
97 | /sbin/ldconfig | |
18f280e8 MB |
98 | if [ "$1" = "0" ]; then |
99 | %glib_compile_schemas | |
100 | fi | |
1f1189ae MB |
101 | |
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
6c78dc95 | 104 | %doc AUTHORS ChangeLog NEWS |
18f280e8 | 105 | %attr(755,root,root) %{_bindir}/gkbd-keyboard-display |
1f1189ae | 106 | %attr(755,root,root) %{_libdir}/libgnomekbd.so.*.*.* |
39ccfbd3 | 107 | %attr(755,root,root) %ghost %{_libdir}/libgnomekbd.so.8 |
1f1189ae | 108 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so.*.*.* |
39ccfbd3 | 109 | %attr(755,root,root) %ghost %{_libdir}/libgnomekbdui.so.8 |
e414512b | 110 | %{_libdir}/girepository-1.0/Gkbd-3.0.typelib |
18f280e8 | 111 | %{_datadir}/GConf/gsettings/libgnomekbd.convert |
e414512b | 112 | %{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml |
1f1189ae | 113 | %{_datadir}/libgnomekbd |
e414512b | 114 | %{_desktopdir}/gkbd-keyboard-display.desktop |
1f1189ae MB |
115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
118 | %attr(755,root,root) %{_libdir}/libgnomekbd.so | |
119 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so | |
120 | %{_includedir}/libgnomekbd | |
1f1189ae MB |
121 | %{_pkgconfigdir}/libgnomekbd.pc |
122 | %{_pkgconfigdir}/libgnomekbdui.pc | |
18f280e8 | 123 | %{_datadir}/gir-1.0/Gkbd-3.0.gir |
1f1189ae MB |
124 | |
125 | %files static | |
126 | %defattr(644,root,root,755) | |
127 | %{_libdir}/libgnomekbd.a | |
128 | %{_libdir}/libgnomekbdui.a |