1 | %define ver 2.24.0 |
---|
2 | %define rel 2%{?_dist_release} |
---|
3 | |
---|
4 | Summary: Binary file editor for GNOME |
---|
5 | Summary(ja): GNOME用バイナリ・ファイル・エディタ |
---|
6 | Name: ghex |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel} |
---|
9 | License: GPL |
---|
10 | Group: Applications/Editors |
---|
11 | |
---|
12 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.22/%{name}-%{ver}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: libglade2-devel |
---|
16 | BuildRequires: libgnomeprintui-devel |
---|
17 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
18 | BuildRequires: libgnomeui-devel >= 2.18.0 |
---|
19 | Requires: libglade2 |
---|
20 | Requires: libgnomeprintui |
---|
21 | Requires: gtk2 >= 2.10.0 |
---|
22 | Requires: libgnomeui >= 2.18.0 |
---|
23 | Requires(post): scrollkeeper |
---|
24 | Requires(post): GConf2 |
---|
25 | Requires(postun): scrollkeeper |
---|
26 | |
---|
27 | Packager: ryoichi, daisuke, kazutaka |
---|
28 | |
---|
29 | %description |
---|
30 | GHex allows the user to load data from any file, view and edit |
---|
31 | it in either hex or ascii. A must for anyone playing games that |
---|
32 | use non-ascii format for saving. |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | GHex は16進と ASCIIのどちらのモードでもファイルの読み込み、 |
---|
36 | 表示及び編集が可能です。また 非 ASCII 形式のデータを保存する |
---|
37 | 機能も備えています。 |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --disable-schemas-install --disable-scrollkeeper |
---|
45 | make |
---|
46 | |
---|
47 | %install |
---|
48 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
51 | %makeinstall |
---|
52 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
53 | |
---|
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
55 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
56 | |
---|
57 | %clean |
---|
58 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | %post |
---|
61 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
62 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
63 | SCHEMAS="ghex2.schemas" |
---|
64 | for S in $SCHEMAS; do |
---|
65 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null |
---|
66 | done |
---|
67 | |
---|
68 | %postun |
---|
69 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(-,root,root) |
---|
73 | %doc README COPYING NEWS AUTHORS ChangeLog |
---|
74 | %{_bindir}/ghex2 |
---|
75 | %{_libdir}/*.so.* |
---|
76 | %{_datadir}/applications/* |
---|
77 | %{_datadir}/gnome/* |
---|
78 | %{_datadir}/gnome-2.0/* |
---|
79 | %{_datadir}/locale/* |
---|
80 | %{_datadir}/icons/* |
---|
81 | #{_datadir}/omf/* |
---|
82 | %{_sysconfdir}/gconf/schemas/* |
---|
83 | %{_includedir}/* |
---|
84 | %{_libdir}/*.a |
---|
85 | %{_libdir}/*.so |
---|
86 | %{_libdir}/pkgconfig/*.pc |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2 |
---|
90 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
91 | |
---|
92 | * Wed May 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.0-1 |
---|
93 | - new upstream release |
---|
94 | - add japanese description |
---|
95 | |
---|
96 | * Sun Oct 5 2008 Ryoichi INAGAKI <ryo1@@bc.wakwak.com> 2.22.0-1vl5 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1vl5 |
---|
100 | - applied new versioning policy, spec in utf-8 |
---|
101 | |
---|
102 | * Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Wed Sep 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-0vl1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-0vl1 |
---|
112 | - rebuild with new toolchains and Gnome2 |
---|
113 | |
---|
114 | * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.1-0vl1 |
---|
115 | - New upstream release. |
---|
116 | - Fixed the font names for printing. |
---|
117 | |
---|
118 | * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2-0vl1 |
---|
119 | - New upstream release. |
---|
120 | - Use rpmmacros. |
---|
121 | |
---|
122 | * Mon Mar 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
123 | - first release for vine |
---|
124 | |
---|