source: projects/specs/branches/6/g/gucharmap/gucharmap-vl.spec @ 2219

Revision 2219, 7.0 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1Summary: A Unicode/ISO10646 character map and font viewer.
2Summary(ja): Unicode/ISO10646 文字コード表およびフォントビューワ
3Name: gucharmap
4Version: 2.32.1
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* Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
132- new upstream release
133
134* Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
135- new upstream release
136
137* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
138- rebuild with rpm-4.8.1 for pkg-config file
139
140* Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
141- new upstream release
142- add BuildRequires: docbook-dtds
143
144* Sat May 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
145- new upstream release
146
147* Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
148- new upstream release
149
150* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
151- new upstream release
152
153* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
154- new upstream release
155
156* Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3.1-1
157- new upstream release
158
159* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
160- new upstream release
161
162* Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
163- new upstream release
164- remove static library
165
166* Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
167- new upstream release
168
169* Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5
170- new upstream release
171- spec in UTF-8
172
173* Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
174- new upstream release
175- added %%pre, %%preun section
176
177* Mon Jan 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10.2-0vl1
178- new upstream release
179
180* Sun Jan  7 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4.4-0vl2
181- add Vendor/Distribution tag
182- add BuildRequires: gnome-doc-utils, libgnomeui-devel, libgnome-devel
183- add Requires: {gtk2,glib2,libgnomeui,libgnome}-devel to -devel package
184- not run gtk-query-immodules-2.0 at %%post and %%postun
185- use %%{buildroot} consistently
186
187* Sat Oct  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.4-0vl1
188- new upstream release
189- added --disable-scrollkeeper option
190
191* Thu Mar 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1
192- new upstream release
193
194* Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
195- new upstream release
196- added Japanese summay and description
197
198* Sun Jan 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
199- build for Vine Linux
200- based on Dag Apt Repository, http://dag.wieers.com/apt/
201
202* Sat Nov 22 2003 Dag Wieers <dag@wieers.com> - 1.2.0-0
203- Updated to release 1.2.0.
204
205* Tue Sep 09 2003 Dag Wieers <dag@wieers.com> - 1.0.0-0
206- Updated to release 1.0.0.
207
208* Fri Aug 22 2003 Dag Wieers <dag@wieers.com> - 0.9.0-0
209- Updated to release 0.9.0.
210
211* Wed Jun 11 2003 Dag Wieers <dag@wieers.com> - 0.8.0-0
212- Updated to release 0.8.0.
213
214* Wed Jun 04 2003 Dag Wieers <dag@wieers.com> - 0.6.1.20030604-0
215- Updated to release 0.6.1.20030604.
216
217* Mon May 19 2003 Dag Wieers <dag@wieers.com> - 0.6.1-0
218- Updated to release 0.6.1.
219
220* Fri May 02 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0
221- Updated to release 0.6.0.
222
223* Tue Mar 25 2003 Dag Wieers <dag@wieers.com> - 0.4.0-1
224- Added extra documents.
225
226* Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.4.0-0
227- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.