1 | Summary: A keyboard configuration library |
---|
2 | Summary(ja): キーボード設定ライブラリ |
---|
3 | Name: libgnomekbd |
---|
4 | Version: 3.4.0.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: LGPL |
---|
8 | URL: http://gswitchit.sourceforce.net |
---|
9 | Source0: http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/3.4/libgnomekbd-%{version}.tar.xz |
---|
10 | |
---|
11 | Patch0: libgnomekbd-3.4.0.1-wrong_free_call.patch |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gtk3-devel >= 2.91.7 |
---|
16 | BuildRequires: libxklavier-devel >= 5.0 |
---|
17 | BuildRequires: libSM-devel |
---|
18 | BuildRequires: desktop-file-utils |
---|
19 | BuildRequires: perl(XML::Parser) |
---|
20 | BuildRequires: gettext |
---|
21 | BuildRequires: intltool |
---|
22 | |
---|
23 | Requires(pre): glib2 |
---|
24 | Requires(post): glib2 |
---|
25 | Requires(preun): glib2 |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | Packager: Takemikaduchi |
---|
30 | |
---|
31 | %description |
---|
32 | The libgnomekbd package contains a GNOME library which manages |
---|
33 | keyboard configuration and offers various widgets related to |
---|
34 | keyboard configuration. |
---|
35 | |
---|
36 | |
---|
37 | %package devel |
---|
38 | Summary: Development files for %{name} |
---|
39 | Group: Development/Libraries |
---|
40 | Requires: %{name} = %{version}-%{release} |
---|
41 | Requires: libxklavier-devel >= 5.0 |
---|
42 | Requires: pkgconfig |
---|
43 | |
---|
44 | %description devel |
---|
45 | The libgnomekbd-devel package contains libraries and header files for |
---|
46 | developing applications that use libgnomekbd. |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | %patch0 -p1 -b .free |
---|
52 | |
---|
53 | %build |
---|
54 | %configure --disable-static --enable-compile-warnings=no |
---|
55 | %__make %{?_smp_mflags} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
61 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
62 | |
---|
63 | %find_lang %{name} |
---|
64 | |
---|
65 | |
---|
66 | %clean |
---|
67 | rm -rf $RPM_BUILD_ROOT |
---|
68 | |
---|
69 | %post |
---|
70 | /sbin/ldconfig |
---|
71 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
72 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
73 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
74 | fi |
---|
75 | update-desktop-database &> /dev/null ||: |
---|
76 | |
---|
77 | %posttrans |
---|
78 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
79 | %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
80 | |
---|
81 | |
---|
82 | %postun |
---|
83 | /sbin/ldconfig |
---|
84 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
85 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
86 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
87 | fi |
---|
88 | %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
89 | |
---|
90 | |
---|
91 | %files -f %{name}.lang |
---|
92 | %defattr(-,root,root,-) |
---|
93 | %doc AUTHORS COPYING.LIB |
---|
94 | %{_bindir}/gkbd-keyboard-display |
---|
95 | %{_libdir}/*.so.* |
---|
96 | %{_libdir}/girepository-1.0/Gkbd-3.0.typelib |
---|
97 | %{_datadir}/applications/gkbd-keyboard-display.desktop |
---|
98 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
99 | %{_datadir}/libgnomekbd/ui/* |
---|
100 | %{_datadir}/libgnomekbd/icons/*.svg |
---|
101 | %{_datadir}/GConf/gsettings/libgnomekbd.convert |
---|
102 | |
---|
103 | %files devel |
---|
104 | %defattr(-,root,root,-) |
---|
105 | %{_includedir}/libgnomekbd/* |
---|
106 | %{_libdir}/*.so |
---|
107 | %{_libdir}/pkgconfig/libgnomekbd.pc |
---|
108 | %{_libdir}/pkgconfig/libgnomekbdui.pc |
---|
109 | %{_datadir}/gir-1.0/Gkbd-3.0.gir |
---|
110 | |
---|
111 | |
---|
112 | %changelog |
---|
113 | * Fri Apr 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.1-1 |
---|
114 | - new upstream release |
---|
115 | - add Patch0 (libgnomekbd-3.4.0.1-wrong_free_call.patch) |
---|
116 | |
---|
117 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
118 | - new upstream release |
---|
119 | - add BuildRequires: libSM-devel |
---|
120 | |
---|
121 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
125 | - new upstream release |
---|
126 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
127 | |
---|
128 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
129 | - new upstream release |
---|
130 | - remove BuildRequires: libgnomeui-devel |
---|
131 | |
---|
132 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
133 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
134 | |
---|
135 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
139 | - new upstream release |
---|
140 | - drop Patch1 |
---|
141 | |
---|
142 | * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.0-2 |
---|
143 | - remove old Patches |
---|
144 | - add Patch1 to fix invalid default value in schema |
---|
145 | https://bugzilla.gnome.org/show_bug.cgi?id=615077 |
---|
146 | |
---|
147 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
148 | - new upstream release |
---|
149 | - fix BuildRequires: libxklavier-devel >= 5.0 |
---|
150 | |
---|
151 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
155 | - new upstream release |
---|
156 | - remove BR: libglade2-devel |
---|
157 | |
---|
158 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
165 | - new upstream release |
---|
166 | |
---|
167 | * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1 |
---|
168 | - new upstream release |
---|
169 | |
---|
170 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1 |
---|
171 | - initial build for Vine Linux |
---|
172 | |
---|
173 | * Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1 |
---|
174 | - Update to 2.18.0 |
---|
175 | |
---|
176 | * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2 |
---|
177 | - Port former control-center patches to improve keyboard drawing |
---|
178 | |
---|
179 | * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1 |
---|
180 | - Update to 2.17.2 |
---|
181 | |
---|
182 | * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4 |
---|
183 | - Fix up Requires |
---|
184 | |
---|
185 | * Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3 |
---|
186 | - Don't use --Werror |
---|
187 | |
---|
188 | * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2 |
---|
189 | - Fix a memory allocation error |
---|
190 | |
---|
191 | * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1 |
---|
192 | - Initial release |
---|