]> git.pld-linux.org Git - packages/libgnomekbd.git/blob - libgnomekbd.spec
- 2.22.0
[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:          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.311
26 Requires(post,postun):  /sbin/ldconfig
27 Requires(post,postun):  gtk+2
28 Requires(post,preun):   GConf2
29 Conflicts:      control-center < 1:2.17.92
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 The libgnomekbd package contains a GNOME library which manages
34 keyboard configuration and offers various widgets related to keyboard
35 configuration.
36
37 %description -l pl.UTF-8
38 Pakiet libgnomekbd zawiera bibliotekę GNOME zarządzającą konfiguracją
39 klawiatury i oferującą różne widgety związane z konfiguracją
40 klawiatury.
41
42 %package devel
43 Summary:        Header files for libgnomekbd
44 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgnomekbd
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47
48 %description devel
49 Header files for libgnomekbd.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki libgnomekbd.
53
54 %package static
55 Summary:        Static libgnomekbd library
56 Summary(pl.UTF-8):      Statyczna biblioteka libgnomekbd
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static libgnomekbd library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka libgnomekbd.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69
70 %build
71 %{__glib_gettextize}
72 %{__intltoolize}
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__automake}
77 %configure \
78         --disable-schemas-install \
79         --enable-static
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %find_lang %{name}
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 /sbin/ldconfig
95 %gconf_schema_install desktop_gnome_peripherals_keyboard_xkb.schemas
96
97 %preun
98 %gconf_schema_uninstall desktop_gnome_peripherals_keyboard_xkb.schemas
99
100 %postun
101 /sbin/ldconfig
102
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog
106 %attr(755,root,root) %{_bindir}/gkbd-indicator-plugins-capplet
107 %attr(755,root,root) %{_libdir}/libgnomekbd.so.*.*.*
108 %attr(755,root,root) %{_libdir}/libgnomekbdui.so.*.*.*
109 %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas
110 %{_desktopdir}/gkbd-indicator-plugins-capplet.desktop
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
This page took 0.073948 seconds and 3 git commands to generate.