source: projects/specs/trunk/g/ghex/ghex-vl.spec @ 6078

Revision 6078, 3.7 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1%define ver     3.4.0
2%define rel     1%{?_dist_release}
3
4Summary:        Binary file editor for GNOME
5Summary(ja):    GNOME用バイナリ・ファイル・エディタ
6Name:           ghex
7Version:        %{ver}
8Release:        %{rel}
9License:        GPL
10Group:          Applications/Editors
11
12Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/3.4/%{name}-%{ver}.tar.xz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  gtk3-devel
17BuildRequires:  gnome-doc-utils
18
19Packager:       ryoichi, daisuke, kazutaka, Takemikaduchi
20
21%description
22GHex allows the user to load data from any file, view and edit
23it in either hex or ascii. A must for anyone playing games that
24use non-ascii format for saving.
25
26%description -l ja
27GHex は16進と ASCIIのどちらのモードでもファイルの読み込み、
28表示及び編集が可能です。また 非 ASCII 形式のデータを保存する
29機能も備えています。
30
31
32%package        devel
33Summary:        Development files for %{name}
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}
36
37%description    devel
38The %{name}-devel package contains libraries and header files for
39developing applications that use %{name}.
40
41
42%prep
43%setup -q
44
45%build
46%configure --disable-static --disable-scrollkeeper
47make
48
49%install
50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51
52make install DESTDIR=$RPM_BUILD_ROOT
53
54find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
55
56%find_lang %{name}-3.0
57
58%clean
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60
61
62%post
63/sbin/ldconfig
64touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
65
66%postun
67/sbin/ldconfig
68if [ $1 -eq 0 ] ; then
69    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
70    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
71    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
72fi
73
74%posttrans
75glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
76gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
77
78
79%files -f %{name}-3.0.lang
80%defattr(-,root,root)
81%doc README COPYING NEWS AUTHORS ChangeLog
82%{_bindir}/ghex
83%{_libdir}/libgtkhex-3.so.*
84%{_datadir}/GConf/gsettings/ghex.convert
85%{_datadir}/applications/ghex.desktop
86%{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
87%{_datadir}/gnome/help/%{name}
88%{_datadir}/icons/hicolor/*/apps/*
89%{_datadir}/omf/%{name}
90
91%files devel
92%{_includedir}/gtkhex-3
93%{_libdir}/libgtkhex-3.so
94%{_libdir}/pkgconfig/gtkhex-3.pc
95
96%changelog
97* Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
98- new upstream release
99- change BuildRequires: gtk3-devel instead of gtk2-devel
100
101* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.24.0-2
102- rebuilt with rpm-4.8.1 for pkg-config
103
104* Wed May 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.24.0-1
105- new upstream release
106- add japanese description
107
108* Sun Oct  5 2008 Ryoichi INAGAKI <ryo1@@bc.wakwak.com> 2.22.0-1vl5
109- new upstream release
110
111* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 2.8.2-1vl5
112- applied new versioning policy, spec in utf-8
113
114* Sun Apr 29 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-0vl1
115- new upstream release
116
117* Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1
118- new upstream release
119
120* Wed Sep 11 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.0.1-0vl1
121- new upstream release
122
123* Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.1-0vl1
124- rebuild with new toolchains and Gnome2
125
126* Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2.1-0vl1
127- New upstream release.
128- Fixed the font names for printing.
129
130* Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.2-0vl1
131- New upstream release.
132- Use rpmmacros.
133
134* Mon Mar 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
135- first release for vine
136
Note: See TracBrowser for help on using the repository browser.