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.4/%{name}-%{version}.tar.bz2
9 # Source0-md5: 2add675fa3d8d61e71616d49bb7d861e
10 Patch0: %{name}-schema.patch
11 URL: http://pluton.ijs.si/~jaka/gnome.html#GHEX
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: gtk+2-devel >= 2.2.4
15 BuildRequires: libgnomeprint-devel >= 2.3.1
16 Requires(post,postun): /sbin/ldconfig
17 Requires(post,postun): /usr/bin/scrollkeeper-update
18 Requires(post): GConf2
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 GHex allows the user to load data from any file, view and edit it in
23 either hex or ascii. A must for anyone playing games that use
24 non-ascii format for saving.
27 GHex pozwala u¿ytkownikowi na wczytanie danych z dowolnego pliku,
28 przegl±danie i edycjê ich w trybie szesnastkowym i ASCII. Obowi±zkowe
29 narzêdzie dla wszystkich graczy, których gry zapisuj± stan w formacie
33 Summary: GHex devel files
34 Summary(pl): Pliki nag³ówkowe GHex
35 Group: Development/Libraries
36 Requires: %{name} = %{version}
41 %description devel -l pl
42 Pliki nag³ówkowe GHex.
45 Summary: GHex static library
46 Summary(pl): Biblioteka statyczna GHex
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}
53 %description static -l pl
54 Biblioteka statyczna GHex.
61 glib-gettextize --copy --force
66 --disable-schemas-install
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT \
75 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
77 %find_lang %{name} --with-gnome --all-name
80 rm -rf $RPM_BUILD_ROOT
84 /usr/bin/scrollkeeper-update
89 /usr/bin/scrollkeeper-update
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README
94 %attr(755,root,root) %{_bindir}/*
95 %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
98 %{_datadir}/gnome-2.0/ui/*
99 %{_sysconfdir}/gconf/schemas/*
100 %{_omf_dest_dir}/%{name}
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libgtkhex.so
105 %{_libdir}/libgtkhex.la
107 %{_pkgconfigdir}/*.pc
110 %defattr(644,root,root,755)