source: projects/specs/trunk/lib/libg/libgnomekbd/libgnomekbd-vl.spec @ 6011

Revision 6011, 5.4 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Summary:        A keyboard configuration library
2Summary(ja):    キーボード設定ライブラリ
3Name:           libgnomekbd
4Version:        3.4.0.1
5Release:        1%{?_dist_release}
6Group:          System Environment/Libraries
7License:        LGPL
8URL:            http://gswitchit.sourceforce.net
9Source0:        http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/3.4/libgnomekbd-%{version}.tar.xz
10
11Patch0:         libgnomekbd-3.4.0.1-wrong_free_call.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk3-devel >= 2.91.7
16BuildRequires:  libxklavier-devel >= 5.0
17BuildRequires:  libSM-devel
18BuildRequires:  desktop-file-utils
19BuildRequires:  perl(XML::Parser)
20BuildRequires:  gettext
21BuildRequires:  intltool
22
23Requires(pre): glib2
24Requires(post): glib2
25Requires(preun): glib2
26
27Vendor: Project Vine
28Distribution: Vine Linux
29Packager: Takemikaduchi
30
31%description
32The libgnomekbd package contains a GNOME library which manages
33keyboard configuration and offers various widgets related to
34keyboard configuration.
35
36
37%package        devel
38Summary:        Development files for %{name}
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       libxklavier-devel >= 5.0
42Requires:       pkgconfig
43
44%description    devel
45The libgnomekbd-devel package contains libraries and header files for
46developing 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
59rm -rf $RPM_BUILD_ROOT
60make install DESTDIR=$RPM_BUILD_ROOT
61find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
62
63%find_lang %{name}
64
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post
70/sbin/ldconfig
71touch --no-create %{_datadir}/icons/hicolor || :
72if [ -x %{_bindir}/gtk-update-icon-cache ]; then
73  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
74fi
75update-desktop-database &> /dev/null ||:
76
77%posttrans
78gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
79%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
80
81
82%postun
83/sbin/ldconfig
84touch --no-create %{_datadir}/icons/hicolor || :
85if [ -x %{_bindir}/gtk-update-icon-cache ]; then
86  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
87fi
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
Note: See TracBrowser for help on using the repository browser.