source: projects/specs/trunk/g/gucharmap/gucharmap-vl.spec @ 2041

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

update to GNOME-2.32.0

Line 
1Summary: A Unicode/ISO10646 character map and font viewer.
2Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ
3Name: gucharmap
4Version: 2.32.0
5Release: 1%{?_dist_release}
6License: GPL
7Group: Applications/System
8URL: http://gucharmap.sourceforge.net/
9
10Source: http://ftp.gnome.org/pub/gnome/sources/gucharmap/2.32/%{name}-%{version}.tar.bz2
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires: glib2-devel >= 2.26.0
14BuildRequires: gtk2-devel >= 2.22.0
15BuildRequires: GConf2-devel
16BuildRequires: gnome-doc-utils >= 0.9.0
17#BuildRequires: libgnomeui-devel >= 2.2.0, libgnome-devel >= 2.2.0
18### Needed to know if we should link gnome-character-map
19BuildRequires: gnome-utils
20BuildRequires: docbook-dtds
21
22Requires(post,postun): scrollkeeper
23Requires(post,pre,preun): GConf2
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29gucharmap is a Unicode/ISO10646 character map and font viewer.
30
31%description -l ja
32gucharmap は Unicode/ISO10646 文字コード表およびフォントビューワです。
33
34%package devel
35Summary: Header files, libraries and development documentation for %{name}.
36Summary(ja): %{name} のヘッダファイル、ライブラリおよび開発用ドキュメント
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
39Requires: gtk2-devel
40Requires: glib2-devel
41Requires: GConf2-devel
42
43%description devel
44This package contains the header files, static libraries and development
45documentation for %{name}. If you like to develop programs using %{name},
46you will need to install %{name}-devel.
47
48%description devel -l ja
49このパッケージには %{name} のヘッダファイル、ライブラリおよび開発用
50ドキュメントが含まれています。%{name} を使ったプログラムを開発する場合、
51%{name}-devel をインストールする必要があります。
52
53%prep
54%setup -q
55
56%build
57%configure \
58        --disable-static \
59        --disable-schemas-install \
60        --disable-scrollkeeper
61make %{?_smp_mflags}
62
63%install
64[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
65%makeinstall
66%find_lang %{name}
67
68### Remove gnome-character-map link from buildroot if it is in gnome-utils
69# this process is not appropriate,
70# because gnome-character-map will be removed if gucharmap is installed
71#[ -e %{_bindir}/gnome-character-map ] && rm -f %{buildroot}%{_bindir}/gnome-character-map
72
73# remove unneeded files
74rm -rf %{buildroot}%{_localstatedir}/scrollkeeper
75rm -f %{buildroot}%{_libdir}/*.{a,la}
76rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
77
78%clean
79[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
80
81%post
82/sbin/ldconfig
83export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
84gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null
85scrollkeeper-update -q || :
86
87touch --no-create %{_datadir}/icons/hicolor
88if [ -x /usr/bin/gtk-update-icon-cache ]; then
89  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
90fi
91
92%pre
93if [ "$1" -gt 1 ]; then
94    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
95    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null
96fi
97
98%preun
99if [ "$1" -eq 0 ]; then
100    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
101    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gucharmap.schemas > /dev/null
102fi
103
104%postun
105/sbin/ldconfig
106scrollkeeper-update -q || :
107
108touch --no-create %{_datadir}/icons/hicolor
109if [ -x /usr/bin/gtk-update-icon-cache ]; then
110  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
111fi
112
113%files -f %{name}.lang
114%defattr(-, root, root, 0755)
115%doc ChangeLog COPYING* README TODO
116%{_sysconfdir}/gconf/schemas/gucharmap.schemas
117%{_bindir}/*
118%{_libdir}/*.so.*
119%{_datadir}/applications/*
120#{_datadir}/icons/hicolor/48x48/apps/*
121%{_datadir}/omf/gucharmap
122%doc %{_datadir}/gnome/help/gucharmap
123
124%files devel
125%defattr(-, root, root, 0755)
126%{_libdir}/*.so
127%{_libdir}/pkgconfig/*.pc
128%{_includedir}/gucharmap-2.0
129
130%changelog
131* Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
132- new upstream release
133
134* Sun Sep 26 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* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
138- new upstream release
139- add BuildRequires: docbook-dtds
140
141* Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
142- new upstream release
143
144* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
145- new upstream release
146
147* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
148- new upstream release
149
150* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
151- new upstream release
152
153* Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1
154- new upstream release
155
156* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
157- new upstream release
158
159* Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
160- new upstream release
161- remove static library
162
163* Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
164- new upstream release
165
166* Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5
167- new upstream release
168- spec in UTF-8
169
170* Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
171- new upstream release
172- added %%pre, %%preun section
173
174* Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1
175- new upstream release
176
177* Sun Jan  7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2
178- add Vendor/Distribution tag
179- add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel
180- add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package
181- not run gtk-query-immodules-2.0 at %%post and %%postun
182- use %%{buildroot} consistently
183
184* Sat Oct  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1
185- new upstream release
186- added --disable-scrollkeeper option
187
188* Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1
189- new upstream release
190
191* Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
192- new upstream release
193- added Japanese summay and description
194
195* Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
196- build for Vine Linux
197- based on Dag Apt Repository, http://dag.wieers.com/apt/
198
199* Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0
200- Updated to release 1.2.0.
201
202* Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0
203- Updated to release 1.0.0.
204
205* Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0
206- Updated to release 0.9.0.
207
208* Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0
209- Updated to release 0.8.0.
210
211* Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0
212- Updated to release 0.6.1.20030604.
213
214* Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0
215- Updated to release 0.6.1.
216
217* Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0
218- Updated to release 0.6.0.
219
220* Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1
221- Added extra documents.
222
223* Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0
224- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.