]> git.pld-linux.org Git - packages/libgnomekbd.git/blob - libgnomekbd.spec
- added X11 to groups
[packages/libgnomekbd.git] / libgnomekbd.spec
1 Summary:        A keyboard configuration library
2 Summary(pl.UTF-8):      Biblioteka do konfiguracji klawiatury
3 Name:           libgnomekbd
4 Version:        2.22.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgnomekbd/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a8b64278ae3471583607d734db9347eb
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.22.0
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  dbus-glib-devel >= 0.73
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-common >= 2.20.0
18 BuildRequires:  gtk+2-devel >= 2:2.12.3
19 BuildRequires:  intltool >= 0.36.1
20 BuildRequires:  libglade2-devel >= 1:2.6.2
21 BuildRequires:  libgnomeui-devel >= 2.22.0
22 BuildRequires:  libtool
23 BuildRequires:  libxklavier-devel >= 3.5
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.198
26 Requires(post,postun):  /sbin/ldconfig
27 Requires(post,preun):   GConf2
28 Conflicts:      control-center < 1:2.17.92
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 The libgnomekbd package contains a GNOME library which manages
33 keyboard configuration and offers various widgets related to keyboard
34 configuration.
35
36 %description -l pl.UTF-8
37 Pakiet libgnomekbd zawiera bibliotekę GNOME zarządzającą konfiguracją
38 klawiatury i oferującą różne widgety związane z konfiguracją
39 klawiatury.
40
41 %package devel
42 Summary:        Header files for libgnomekbd
43 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgnomekbd
44 Group:          X11/Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       GConf2-devel >= 2.22.0
47 Requires:       dbus-glib-devel >= 0.73
48 Requires:       gtk+2-devel >= 2:2.12.3
49
50 %description devel
51 Header files for libgnomekbd.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki libgnomekbd.
55
56 %package static
57 Summary:        Static libgnomekbd library
58 Summary(pl.UTF-8):      Statyczna biblioteka libgnomekbd
59 Group:          X11/Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static libgnomekbd library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka libgnomekbd.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 %{__glib_gettextize}
74 %{__intltoolize}
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79 %configure \
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
98
99 %preun
100 %gconf_schema_uninstall desktop_gnome_peripherals_keyboard_xkb.schemas
101
102 %postun
103 /sbin/ldconfig
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.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libgnomekbd.so.2
111 %attr(755,root,root) %{_libdir}/libgnomekbdui.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libgnomekbdui.so.2
113 %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas
114 %{_desktopdir}/gkbd-indicator-plugins-capplet.desktop
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
This page took 0.064979 seconds and 3 git commands to generate.