]>
Commit | Line | Data |
---|---|---|
1f1189ae | 1 | Summary: A keyboard configuration library |
4a919f16 | 2 | Summary(pl.UTF-8): Biblioteka do konfiguracji klawiatury |
1f1189ae | 3 | Name: libgnomekbd |
7c41d340 MB |
4 | Version: 2.28.2 |
5 | Release: 1 | |
59601b62 | 6 | License: LGPL v2+ |
c5806e52 | 7 | Group: X11/Libraries |
3c129421 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnomekbd/2.28/%{name}-%{version}.tar.bz2 |
7c41d340 | 9 | # Source0-md5: 28dce813a6c76439a2136fbd2394a058 |
1f1189ae | 10 | URL: http://www.gnome.org/ |
8fe00287 | 11 | BuildRequires: GConf2-devel >= 2.24.0 |
1f1189ae | 12 | BuildRequires: autoconf >= 2.59 |
59601b62 | 13 | BuildRequires: automake >= 1:1.9 |
1f1189ae | 14 | BuildRequires: dbus-glib-devel >= 0.73 |
59601b62 PZ |
15 | BuildRequires: gettext-devel |
16 | BuildRequires: gnome-common >= 2.20.0 | |
557dc72d MB |
17 | BuildRequires: gtk+2-devel >= 2:2.16.0 |
18 | BuildRequires: intltool >= 0.40.0 | |
1f1189ae | 19 | BuildRequires: libtool |
3c129421 | 20 | BuildRequires: libxklavier-devel >= 4.0 |
1f1189ae | 21 | BuildRequires: pkgconfig |
c5806e52 | 22 | BuildRequires: rpmbuild(macros) >= 1.198 |
7c41d340 | 23 | BuildRequires: sed >= 4.0 |
4a919f16 | 24 | Requires(post,postun): /sbin/ldconfig |
9d9e8b9a | 25 | Requires(post,preun): GConf2 |
d1544c79 | 26 | Conflicts: control-center < 1:2.17.92 |
1f1189ae MB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | The libgnomekbd package contains a GNOME library which manages | |
31 | keyboard configuration and offers various widgets related to keyboard | |
32 | configuration. | |
33 | ||
4a919f16 JB |
34 | %description -l pl.UTF-8 |
35 | Pakiet libgnomekbd zawiera bibliotekę GNOME zarządzającą konfiguracją | |
36 | klawiatury i oferującą różne widgety związane z konfiguracją | |
37 | klawiatury. | |
38 | ||
1f1189ae MB |
39 | %package devel |
40 | Summary: Header files for libgnomekbd | |
4a919f16 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgnomekbd |
c5806e52 | 42 | Group: X11/Development/Libraries |
1f1189ae | 43 | Requires: %{name} = %{version}-%{release} |
8fe00287 | 44 | Requires: GConf2-devel >= 2.24.0 |
c5806e52 | 45 | Requires: dbus-glib-devel >= 0.73 |
557dc72d | 46 | Requires: gtk+2-devel >= 2:2.16.0 |
3c129421 | 47 | Requires: libxklavier-devel >= 4.0 |
1f1189ae MB |
48 | |
49 | %description devel | |
50 | Header files for libgnomekbd. | |
51 | ||
4a919f16 JB |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe biblioteki libgnomekbd. | |
54 | ||
1f1189ae MB |
55 | %package static |
56 | Summary: Static libgnomekbd library | |
4a919f16 | 57 | Summary(pl.UTF-8): Statyczna biblioteka libgnomekbd |
c5806e52 | 58 | Group: X11/Development/Libraries |
1f1189ae MB |
59 | Requires: %{name}-devel = %{version}-%{release} |
60 | ||
61 | %description static | |
62 | Static libgnomekbd library. | |
63 | ||
4a919f16 JB |
64 | %description static -l pl.UTF-8 |
65 | Statyczna biblioteka libgnomekbd. | |
66 | ||
1f1189ae MB |
67 | %prep |
68 | %setup -q | |
7c41d340 MB |
69 | |
70 | rm -f po/en@shaw.po | |
71 | sed -i -e 's/en@shaw//' po/LINGUAS | |
1f1189ae MB |
72 | |
73 | %build | |
74 | %{__glib_gettextize} | |
75 | %{__intltoolize} | |
76 | %{__libtoolize} | |
77 | %{__aclocal} | |
78 | %{__autoconf} | |
79 | %{__automake} | |
80 | %configure \ | |
81 | --disable-schemas-install \ | |
82 | --enable-static | |
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | %find_lang %{name} | |
92 | ||
93 | %clean | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %post | |
97 | /sbin/ldconfig | |
98 | %gconf_schema_install desktop_gnome_peripherals_keyboard_xkb.schemas | |
1f1189ae MB |
99 | |
100 | %preun | |
101 | %gconf_schema_uninstall desktop_gnome_peripherals_keyboard_xkb.schemas | |
102 | ||
103 | %postun | |
104 | /sbin/ldconfig | |
1f1189ae MB |
105 | |
106 | %files -f %{name}.lang | |
107 | %defattr(644,root,root,755) | |
108 | %doc AUTHORS ChangeLog | |
109 | %attr(755,root,root) %{_bindir}/gkbd-indicator-plugins-capplet | |
110 | %attr(755,root,root) %{_libdir}/libgnomekbd.so.*.*.* | |
3c129421 | 111 | %attr(755,root,root) %ghost %{_libdir}/libgnomekbd.so.4 |
1f1189ae | 112 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so.*.*.* |
3c129421 | 113 | %attr(755,root,root) %ghost %{_libdir}/libgnomekbdui.so.4 |
1f1189ae MB |
114 | %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas |
115 | %{_desktopdir}/gkbd-indicator-plugins-capplet.desktop | |
1f1189ae MB |
116 | %{_datadir}/libgnomekbd |
117 | ||
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
120 | %attr(755,root,root) %{_libdir}/libgnomekbd.so | |
121 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so | |
122 | %{_includedir}/libgnomekbd | |
123 | %{_libdir}/libgnomekbd.la | |
124 | %{_libdir}/libgnomekbdui.la | |
125 | %{_pkgconfigdir}/libgnomekbd.pc | |
126 | %{_pkgconfigdir}/libgnomekbdui.pc | |
127 | ||
128 | %files static | |
129 | %defattr(644,root,root,755) | |
130 | %{_libdir}/libgnomekbd.a | |
131 | %{_libdir}/libgnomekbdui.a |