1 Summary: GNOME2 binary editor
2 Summary(pl): Edytor binarny dla GNOME2
6 Group: Applications/Editors
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
9 # Source0-md5: ef17f945b9dc701193451f9b083e5116
10 Patch0: %{name}-schema.patch
11 Patch1: %{name}-locale-names.patch
12 Patch2: %{name}-desktop.patch
13 URL: http://www.gnu.org/directory/text/editors/ghex.html
14 BuildRequires: GConf2-devel >= 2.6.1
15 BuildRequires: atk-devel >= 1.6.1
16 BuildRequires: autoconf >= 2.53
17 BuildRequires: automake
18 BuildRequires: gail-devel >= 1.6.5
19 BuildRequires: gtk+2-devel >= 2:2.4.1
20 BuildRequires: intltool >= 0.30
21 BuildRequires: libglade2-devel >= 1:2.4.0
22 BuildRequires: libgnomeui-devel >= 2.6.1
23 BuildRequires: libgnomeprintui-devel >= 2.6.1
24 BuildRequires: libtool
25 BuildRequires: popt-devel
26 BuildRequires: scrollkeeper
27 Requires(post,postun): /sbin/ldconfig
28 Requires(post,postun): /usr/bin/scrollkeeper-update
29 Requires(post): GConf2
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 GHex allows the user to load data from any file, view and edit it in
34 either hex or ascii. A must for anyone playing games that use
35 non-ascii format for saving.
38 GHex pozwala u¿ytkownikowi na wczytanie danych z dowolnego pliku,
39 przegl±danie i edycjê ich w trybie szesnastkowym i ASCII. Obowi±zkowe
40 narzêdzie dla wszystkich graczy, których gry zapisuj± stan w formacie
44 Summary: GHex devel files
45 Summary(pl): Pliki nag³ówkowe GHex
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: gail-devel >= 1.6.5
49 Requires: gtk+2-devel >= 2:2.4.1
54 %description devel -l pl
55 Pliki nag³ówkowe GHex.
58 Summary: GHex static library
59 Summary(pl): Biblioteka statyczna GHex
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
66 %description static -l pl
67 Biblioteka statyczna GHex.
78 glib-gettextize --copy --force
79 intltoolize --copy --force
85 --disable-schemas-install
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT \
94 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
96 %find_lang %{name} --with-gnome --all-name
99 rm -rf $RPM_BUILD_ROOT
103 /usr/bin/scrollkeeper-update
104 %gconf_schema_install
108 /usr/bin/scrollkeeper-update
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog README
113 %attr(755,root,root) %{_bindir}/*
114 %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
117 %{_datadir}/gnome-2.0/ui/*
118 %{_sysconfdir}/gconf/schemas/*
119 %{_omf_dest_dir}/%{name}
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libgtkhex.so
124 %{_libdir}/libgtkhex.la
126 %{_pkgconfigdir}/*.pc
129 %defattr(644,root,root,755)