1 Summary: GNOME2 binary editor
2 Summary(pl): Edytor binarny dla GNOME2
6 Group: Applications/Editors
8 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/ghex/2.3/%{name}-%{version}.tar.bz2
9 # Source0-md5: 3336add8b5ee6c95ab851053f4b668c8
10 Patch0: %{name}-schema.patch
11 URL: http://pluton.ijs.si/~jaka/gnome.html#GHEX
12 BuildRequires: gtk+2-devel
13 BuildRequires: libgnomeprint-devel >= 2.2.0
14 Requires(post,postun): /sbin/ldconfig
15 Requires(post,postun): /usr/bin/scrollkeeper-update
16 Requires(post): GConf2
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 GHex allows the user to load data from any file, view and edit it in
21 either hex or ascii. A must for anyone playing games that use
22 non-ascii format for saving.
25 GHex pozwala u¿ytkownikowi na wczytanie danych z dowolnego pliku,
26 przegl±danie i edycjê ich w trybie szesnastkowym i ASCII. Obowi±zkowe
27 narzêdzie dla wszystkich graczy, których gry zapisuj± stan w formacie
31 Summary: GHex devel files
32 Summary(pl): Pliki nag³ówkowe GHex
33 Group: Development/Libraries
34 Requires: %{name} = %{version}
39 %description devel -l pl
40 Pliki nag³ówkowe GHex.
43 Summary: GHex static library
44 Summary(pl): Biblioteka statyczna GHex
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}
51 %description static -l pl
52 Biblioteka statyczna GHex.
59 %configure --disable-schemas-install
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 %find_lang %{name} --with-gnome --all-name
72 rm -rf $RPM_BUILD_ROOT
76 /usr/bin/scrollkeeper-update
81 /usr/bin/scrollkeeper-update
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog README TODO
86 %attr(755,root,root) %{_bindir}/*
87 %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
88 %{_datadir}/applications/*
90 %{_datadir}/gnome-2.0/ui/*
91 %{_sysconfdir}/gconf/schemas/*
92 %{_omf_dest_dir}/%{name}
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libgtkhex.so
97 %{_libdir}/libgtkhex.la
102 %defattr(644,root,root,755)