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.5/%{name}-%{version}.tar.bz2
9 # Source0-md5: 95dc4caef992ae0ea5b3a3e20b235e39
10 Patch0: %{name}-schema.patch
11 Patch1: %{name}-locale-names.patch
12 URL: http://pluton.ijs.si/~jaka/gnome.html#GHEX
13 BuildRequires: atk-devel >= 1.6.0
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gail-devel >= 1.6.0
17 BuildRequires: gtk+2-devel >= 2:2.4.0
18 BuildRequires: intltool
19 BuildRequires: libglade2-devel >= 1:2.3.6
20 BuildRequires: libgnomeui-devel >= 2.6.0
21 BuildRequires: libgnomeprintui-devel >= 2.6.0
22 BuildRequires: libtool
23 BuildRequires: popt-devel
24 BuildRequires: scrollkeeper
25 Requires(post,postun): /sbin/ldconfig
26 Requires(post,postun): /usr/bin/scrollkeeper-update
27 Requires(post): GConf2
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 GHex allows the user to load data from any file, view and edit it in
32 either hex or ascii. A must for anyone playing games that use
33 non-ascii format for saving.
36 GHex pozwala u¿ytkownikowi na wczytanie danych z dowolnego pliku,
37 przegl±danie i edycjê ich w trybie szesnastkowym i ASCII. Obowi±zkowe
38 narzêdzie dla wszystkich graczy, których gry zapisuj± stan w formacie
42 Summary: GHex devel files
43 Summary(pl): Pliki nag³ówkowe GHex
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: gail-devel >= 1.6.0
47 Requires: gtk+2-devel >= 2:2.4.0
52 %description devel -l pl
53 Pliki nag³ówkowe GHex.
56 Summary: GHex static library
57 Summary(pl): Biblioteka statyczna GHex
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
64 %description static -l pl
65 Biblioteka statyczna GHex.
75 glib-gettextize --copy --force
76 intltoolize --copy --force
82 --disable-schemas-install
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT \
91 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
93 %find_lang %{name} --with-gnome --all-name
96 rm -rf $RPM_BUILD_ROOT
100 /usr/bin/scrollkeeper-update
101 %gconf_schema_install
105 /usr/bin/scrollkeeper-update
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog README
110 %attr(755,root,root) %{_bindir}/*
111 %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
114 %{_datadir}/gnome-2.0/ui/*
115 %{_sysconfdir}/gconf/schemas/*
116 %{_omf_dest_dir}/%{name}
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libgtkhex.so
121 %{_libdir}/libgtkhex.la
123 %{_pkgconfigdir}/*.pc
126 %defattr(644,root,root,755)