]>
Commit | Line | Data |
---|---|---|
1f1189ae | 1 | Summary: A keyboard configuration library |
4a919f16 | 2 | Summary(pl.UTF-8): Biblioteka do konfiguracji klawiatury |
1f1189ae | 3 | Name: libgnomekbd |
73823be7 | 4 | Version: 2.18.0 |
1f1189ae MB |
5 | Release: 1 |
6 | License: LGPL | |
7 | Group: Libraries | |
73823be7 MB |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/2.18/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: f176e026158f678144511fb343ec7269 | |
1f1189ae | 10 | URL: http://www.gnome.org/ |
73823be7 | 11 | BuildRequires: GConf2-devel >= 2.18.0.1 |
1f1189ae MB |
12 | BuildRequires: autoconf >= 2.59 |
13 | BuildRequires: automake >= 1:1.8 | |
14 | BuildRequires: dbus-glib-devel >= 0.73 | |
15 | BuildRequires: gtk+2-devel >= 2:2.10.9 | |
16 | BuildRequires: intltool >= 0.35.5 | |
17 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
18 | BuildRequires: libgnomeui-devel >= 2.17.92 | |
19 | BuildRequires: libtool | |
20 | BuildRequires: libxklavier-devel >= 3.0 | |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: rpmbuild(macros) >= 1.311 | |
23 | Requires(post,preun): GConf2 | |
4a919f16 | 24 | Requires(post,postun): /sbin/ldconfig |
1f1189ae MB |
25 | Requires(post,postun): gtk+2 |
26 | Requires(post,postun): hicolor-icon-theme | |
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 |
1f1189ae MB |
43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
45 | ||
46 | %description devel | |
47 | Header files for libgnomekbd. | |
48 | ||
4a919f16 JB |
49 | %description devel -l pl.UTF-8 |
50 | Pliki nagłówkowe biblioteki libgnomekbd. | |
51 | ||
1f1189ae MB |
52 | %package static |
53 | Summary: Static libgnomekbd library | |
4a919f16 | 54 | Summary(pl.UTF-8): Statyczna biblioteka libgnomekbd |
1f1189ae MB |
55 | Group: Development/Libraries |
56 | Requires: %{name}-devel = %{version}-%{release} | |
57 | ||
58 | %description static | |
59 | Static libgnomekbd library. | |
60 | ||
4a919f16 JB |
61 | %description static -l pl.UTF-8 |
62 | Statyczna biblioteka libgnomekbd. | |
63 | ||
1f1189ae MB |
64 | %prep |
65 | %setup -q | |
66 | ||
67 | %build | |
68 | %{__glib_gettextize} | |
69 | %{__intltoolize} | |
70 | %{__libtoolize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__automake} | |
74 | %configure \ | |
75 | --disable-schemas-install \ | |
76 | --enable-static | |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | %find_lang %{name} | |
86 | ||
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %post | |
91 | /sbin/ldconfig | |
92 | %gconf_schema_install desktop_gnome_peripherals_keyboard_xkb.schemas | |
93 | %update_icon_cache hicolor | |
94 | ||
95 | %preun | |
96 | %gconf_schema_uninstall desktop_gnome_peripherals_keyboard_xkb.schemas | |
97 | ||
98 | %postun | |
99 | /sbin/ldconfig | |
100 | %update_icon_cache hicolor | |
101 | ||
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
104 | %doc AUTHORS ChangeLog | |
105 | %attr(755,root,root) %{_bindir}/gkbd-indicator-plugins-capplet | |
106 | %attr(755,root,root) %{_libdir}/libgnomekbd.so.*.*.* | |
107 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so.*.*.* | |
108 | %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas | |
109 | %{_desktopdir}/gkbd-indicator-plugins-capplet.desktop | |
110 | %{_iconsdir}/hicolor/*/*/*.png | |
111 | %{_datadir}/libgnomekbd | |
112 | ||
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
115 | %attr(755,root,root) %{_libdir}/libgnomekbd.so | |
116 | %attr(755,root,root) %{_libdir}/libgnomekbdui.so | |
117 | %{_includedir}/libgnomekbd | |
118 | %{_libdir}/libgnomekbd.la | |
119 | %{_libdir}/libgnomekbdui.la | |
120 | %{_pkgconfigdir}/libgnomekbd.pc | |
121 | %{_pkgconfigdir}/libgnomekbdui.pc | |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libgnomekbd.a | |
126 | %{_libdir}/libgnomekbdui.a |