1 | Summary: A keyboard configuration library |
---|
2 | Summary(ja): キーボード設定ライブラリ |
---|
3 | Name: libgnomekbd |
---|
4 | Version: 3.26.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: system,desktop-gnome |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: LGPL |
---|
11 | URL: http://gswitchit.sourceforce.net |
---|
12 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
13 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | BuildRequires: gtk3-devel >= 2.91.7 |
---|
18 | BuildRequires: libxklavier-devel >= 5.0 |
---|
19 | BuildRequires: libSM-devel |
---|
20 | BuildRequires: desktop-file-utils |
---|
21 | BuildRequires: perl(XML::Parser) |
---|
22 | BuildRequires: gettext |
---|
23 | BuildRequires: intltool |
---|
24 | |
---|
25 | Requires(pre): glib2 |
---|
26 | Requires(post): glib2 |
---|
27 | Requires(preun): glib2 |
---|
28 | |
---|
29 | %description |
---|
30 | The libgnomekbd package contains a GNOME library which manages |
---|
31 | keyboard configuration and offers various widgets related to |
---|
32 | keyboard configuration. |
---|
33 | |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for %{name} |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: libxklavier-devel >= 5.0 |
---|
40 | Requires: pkgconfig |
---|
41 | |
---|
42 | %description devel |
---|
43 | The libgnomekbd-devel package contains libraries and header files for |
---|
44 | developing applications that use libgnomekbd. |
---|
45 | |
---|
46 | |
---|
47 | %debug_package |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-static --enable-compile-warnings=no |
---|
54 | %__make %{?_smp_mflags} |
---|
55 | |
---|
56 | |
---|
57 | %install |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
60 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
61 | |
---|
62 | %find_lang %{name} |
---|
63 | |
---|
64 | |
---|
65 | %clean |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
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 | %postun |
---|
78 | /sbin/ldconfig |
---|
79 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
80 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
81 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
82 | fi |
---|
83 | %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
84 | |
---|
85 | %posttrans |
---|
86 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
87 | %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
88 | |
---|
89 | |
---|
90 | %files -f %{name}.lang |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %doc AUTHORS |
---|
93 | %license 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 | * Thu Feb 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.1-1 |
---|
114 | - new upstream release. |
---|
115 | |
---|
116 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.26.0-1 |
---|
117 | - new upstream release. |
---|
118 | |
---|
119 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2 |
---|
120 | - rebuild with VineSeed environment |
---|
121 | |
---|
122 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.2-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
129 | - new upstream release |
---|
130 | - add BuildRequires: libSM-devel |
---|
131 | |
---|
132 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
136 | - new upstream release |
---|
137 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
138 | |
---|
139 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
140 | - new upstream release |
---|
141 | - remove BuildRequires: libgnomeui-devel |
---|
142 | |
---|
143 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
144 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
145 | |
---|
146 | * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
150 | - new upstream release |
---|
151 | - drop Patch1 |
---|
152 | |
---|
153 | * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.0-2 |
---|
154 | - remove old Patches |
---|
155 | - add Patch1 to fix invalid default value in schema |
---|
156 | https://bugzilla.gnome.org/show_bug.cgi?id=615077 |
---|
157 | |
---|
158 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
159 | - new upstream release |
---|
160 | - fix BuildRequires: libxklavier-devel >= 5.0 |
---|
161 | |
---|
162 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
163 | - new upstream release |
---|
164 | |
---|
165 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
166 | - new upstream release |
---|
167 | - remove BR: libglade2-devel |
---|
168 | |
---|
169 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
170 | - new upstream release |
---|
171 | |
---|
172 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1 |
---|
182 | - initial build for Vine Linux |
---|
183 | |
---|
184 | * Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1 |
---|
185 | - Update to 2.18.0 |
---|
186 | |
---|
187 | * Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2 |
---|
188 | - Port former control-center patches to improve keyboard drawing |
---|
189 | |
---|
190 | * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1 |
---|
191 | - Update to 2.17.2 |
---|
192 | |
---|
193 | * Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4 |
---|
194 | - Fix up Requires |
---|
195 | |
---|
196 | * Thu Nov 2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3 |
---|
197 | - Don't use --Werror |
---|
198 | |
---|
199 | * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2 |
---|
200 | - Fix a memory allocation error |
---|
201 | |
---|
202 | * Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1 |
---|
203 | - Initial release |
---|