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