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