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 URL: http://www.gnu.org/directory/text/editors/ghex.html
12 BuildRequires: atk-devel >= 1:1.22.0
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake
15 BuildRequires: gettext-devel
16 BuildRequires: gnome-doc-utils >= 0.12.0
17 BuildRequires: gtk+3-devel
18 BuildRequires: intltool >= 0.36.1
19 BuildRequires: libtool
20 BuildRequires: pkgconfig
21 BuildRequires: rpmbuild(macros) >= 1.311
22 Requires(post,postun): /sbin/ldconfig
23 Requires(post,postun): glib2 >= 1:2.26.0
24 Requires(post,postun): gtk-update-icon-cache
25 Requires(post,postun): hicolor-icon-theme
26 Conflicts: glibc-misc < 6:2.7
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 GHex allows the user to load data from any file, view and edit it in
31 either hex or ascii. A must for anyone playing games that use
32 non-ascii format for saving.
34 %description -l pl.UTF-8
35 GHex pozwala użytkownikowi na wczytanie danych z dowolnego pliku,
36 przeglądanie i edycję ich w trybie szesnastkowym i ASCII.
37 Obowiązkowe narzędzie dla wszystkich graczy, których gry zapisują
38 stan w formacie innym niż tekstowy.
41 Summary: GHex devel files
42 Summary(pl.UTF-8): Pliki nagłówkowe GHex
43 Group: X11/Development/Libraries
44 Requires: %{name} = %{version}-%{release}
45 Requires: atk-devel >= 1:1.22.0
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe GHex.
55 Summary: GHex static library
56 Summary(pl.UTF-8): Biblioteka statyczna GHex
57 Group: X11/Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
63 %description static -l pl.UTF-8
64 Biblioteka statyczna GHex.
79 --disable-schemas-compile \
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
89 %find_lang %{name} --with-gnome --with-omf --all-name
92 rm -rf $RPM_BUILD_ROOT
96 %update_icon_cache hicolor
101 %update_icon_cache hicolor
102 %glib_compile_schemas
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog README
107 %attr(755,root,root) %{_bindir}/ghex
108 %attr(755,root,root) %{_libdir}/libgtkhex-3.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libgtkhex-3.so.0
110 %{_datadir}/GConf/gsettings/ghex.convert
111 %{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
112 %{_desktopdir}/ghex.desktop
113 %{_iconsdir}/hicolor/*/*/*
114 %{_datadir}/ghex/ghex-ui.xml
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libgtkhex-3.so
119 %{_libdir}/libgtkhex-3.la
120 %{_includedir}/gtkhex-3
121 %{_pkgconfigdir}/gtkhex-3.pc
124 %defattr(644,root,root,755)
125 %{_libdir}/libgtkhex-3.a