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