source: projects/specs/branches/6/lib/libg/libgnomekbd/libgnomekbd-vl.spec @ 2041

Revision 2041, 5.4 KB checked in by Takemikaduchi, 14 years ago (diff)

update to GNOME-2.32.0

Line 
1Summary:        A keyboard configuration library
2Summary(ja):    キーボード設定ライブラリ
3Name:           libgnomekbd
4Version:        2.32.0
5Release:        1%{?_dist_release}
6Group:          System Environment/Libraries
7License:        LGPL
8URL:            http://gswitchit.sourceforce.net
9Source0:        http://ftp.gnome.org/pub/gnome/sources/libgnomekbd/2.32/libgnomekbd-%{version}.tar.bz2
10# https://bugzilla.gnome.org/show_bug.cgi?id=615077
11Patch1: libgnomekbd-2.30.0-fix-invalid-value-in-schema.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  dbus-devel >= 1.0
16BuildRequires:  dbus-glib >= 0.73
17BuildRequires:  GConf2-devel >= 2.26.0
18BuildRequires:  gtk2-devel >= 2.16.0
19BuildRequires:  libgnome-devel >= 2.26.0
20BuildRequires:  libxklavier-devel >= 5.0
21BuildRequires:  desktop-file-utils
22BuildRequires:  perl(XML::Parser)
23BuildRequires:  gettext
24
25Requires(pre): GConf2
26Requires(post): GConf2 gtk2
27Requires(preun): GConf2
28Requires(postun): gtk2
29
30%description
31The libgnomekbd package contains a GNOME library which manages
32keyboard configuration and offers various widgets related to
33keyboard configuration.
34
35
36%package        devel
37Summary:        Development files for %{name}
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       libxklavier-devel >= 5.0
41Requires:       libgnome-devel >= 2.24.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## %patch1 -p1
52
53%build
54%configure --disable-static --disable-schemas-install --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
63desktop-file-install --vendor gnome --delete-original       \
64  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
65  $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-indicator-plugins-capplet.desktop
66
67%find_lang %{name}
68
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post
74/sbin/ldconfig
75export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
76gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
77touch --no-create %{_datadir}/icons/hicolor || :
78
79%posttrans
80%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
81
82%pre
83if [ "$1" -gt 1 ]; then
84  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
85  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
86fi
87
88
89%preun
90if [ "$1" -eq 0 ]; then
91  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
92  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_peripherals_keyboard_xkb.schemas >& /dev/null || :
93fi
94
95
96%postun
97/sbin/ldconfig
98touch --no-create %{_datadir}/icons/hicolor || :
99%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
100
101
102%files -f %{name}.lang
103%defattr(-,root,root,-)
104%doc AUTHORS COPYING.LIB
105%{_libdir}/*.so.*
106%{_sysconfdir}/gconf/schemas/*
107%{_bindir}/gkbd-indicator-plugins-capplet
108%{_datadir}/applications/gnome-gkbd-indicator-plugins-capplet.desktop
109%{_datadir}/libgnomekbd
110#{_datadir}/icons/hicolor/48x48/apps/gkbd-indicator-plugins-capplet.png
111
112%files devel
113%defattr(-,root,root,-)
114%{_includedir}/*
115%{_libdir}/*.so
116%{_libdir}/pkgconfig/*
117
118
119%changelog
120* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
121- new upstream release
122- remove BuildRequires: libgnomeui-devel
123
124* Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
125- rebuild with rpm-4.8.1 for pkg-config file
126
127* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
128- new upstream release
129
130* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
131- new upstream release
132- drop Patch1
133
134* Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.0-2
135- remove old Patches
136- add Patch1 to fix invalid default value in schema
137  https://bugzilla.gnome.org/show_bug.cgi?id=615077
138
139* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
140- new upstream release
141- fix BuildRequires: libxklavier-devel >= 5.0
142
143* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
144- new upstream release
145
146* Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
147- new upstream release
148- remove BR: libglade2-devel
149
150* Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
151- new upstream release
152
153* Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
154- new upstream release
155
156* Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
157- new upstream release
158
159* Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-0vl1
160- new upstream release
161
162* Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
163- initial build for Vine Linux
164
165* Tue Mar 13 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.0-1
166- Update to 2.18.0
167
168* Wed Jan 24 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.2-2
169- Port former control-center patches to improve keyboard drawing
170
171* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
172- Update to 2.17.2
173
174* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-4
175- Fix up Requires
176
177* Thu Nov  2 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-3
178- Don't use --Werror
179
180* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-2
181- Fix a memory allocation error
182
183* Sat Oct 28 2006 Matthias Clasen <mclasen@redhat.com> - 0.1-1
184- Initial release
Note: See TracBrowser for help on using the repository browser.