1 Summary: GNOME2 binary editor
2 Summary(pl.UTF-8): Edytor binarny dla GNOME2
7 Group: X11/Applications/Editors
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/ghex/3.0/%{name}-%{version}.tar.xz
9 # Source0-md5: ffa346d6fa97b9e787680159a5479b84
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-static.patch
12 URL: http://www.gnu.org/directory/text/editors/ghex.html
13 BuildRequires: atk-devel >= 1:1.22.0
14 BuildRequires: autoconf >= 2.53
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gnome-doc-utils >= 0.12.0
18 BuildRequires: gtk+3-devel
19 BuildRequires: intltool >= 0.36.1
20 BuildRequires: libtool
21 BuildRequires: pkgconfig
22 BuildRequires: rpmbuild(macros) >= 1.311
23 Requires(post,postun): /sbin/ldconfig
24 Requires(post,postun): glib2 >= 1:2.26.0
25 Requires(post,postun): gtk-update-icon-cache
26 Requires(post,postun): hicolor-icon-theme
27 Conflicts: glibc-misc < 6:2.7
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.
35 %description -l pl.UTF-8
36 GHex pozwala użytkownikowi na wczytanie danych z dowolnego pliku,
37 przeglądanie i edycję ich w trybie szesnastkowym i ASCII.
38 Obowiązkowe narzędzie dla wszystkich graczy, których gry zapisują
39 stan w formacie innym niż tekstowy.
42 Summary: GHex devel files
43 Summary(pl.UTF-8): Pliki nagłówkowe GHex
44 Group: X11/Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: atk-devel >= 1:1.22.0
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe GHex.
56 Summary: GHex static library
57 Summary(pl.UTF-8): Biblioteka statyczna GHex
58 Group: X11/Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
64 %description static -l pl.UTF-8
65 Biblioteka statyczna GHex.
81 --disable-schemas-compile
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
90 %find_lang %{name} --with-gnome --with-omf --all-name
93 rm -rf $RPM_BUILD_ROOT
97 %update_icon_cache hicolor
102 %update_icon_cache hicolor
103 %glib_compile_schemas
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog README
108 %attr(755,root,root) %{_bindir}/ghex
109 %attr(755,root,root) %{_libdir}/libgtkhex-3.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libgtkhex-3.so.0
111 %{_datadir}/GConf/gsettings/ghex.convert
112 %{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
113 %{_desktopdir}/ghex.desktop
114 %{_iconsdir}/hicolor/*/*/*
115 %{_datadir}/ghex/ghex-ui.xml
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libgtkhex-3.so
120 %{_libdir}/libgtkhex-3.la
121 %{_includedir}/gtkhex-3
122 %{_pkgconfigdir}/gtkhex-3.pc
125 %defattr(644,root,root,755)
126 %{_libdir}/libgtkhex-3.a