Summary: GNOME2 binary editor Summary(pl): Edytor binarny dla GNOME2 Name: ghex Version: 2.4.0.1 Release: 1 Group: Applications/Editors License: GPL Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2 # Source0-md5: 2add675fa3d8d61e71616d49bb7d861e Patch0: %{name}-schema.patch URL: http://pluton.ijs.si/~jaka/gnome.html#GHEX BuildRequires: atk-devel >= 1.4.1 BuildRequires: autoconf BuildRequires: automake BuildRequires: gail-devel >= 1.4.1 BuildRequires: gtk+2-devel >= 2.2.4 BuildRequires: libglade2-devel >= 2.0.1 BuildRequires: libgnomeui-devel >= 2.4.0 BuildRequires: libgnomeprintui-devel >= 2.3.1 BuildRequires: popt-devel Requires(post,postun): /sbin/ldconfig Requires(post,postun): /usr/bin/scrollkeeper-update Requires(post): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description GHex allows the user to load data from any file, view and edit it in either hex or ascii. A must for anyone playing games that use non-ascii format for saving. %description -l pl GHex pozwala użytkownikowi na wczytanie danych z dowolnego pliku, przeglądanie i edycję ich w trybie szesnastkowym i ASCII. Obowiązkowe narzędzie dla wszystkich graczy, których gry zapisują stan w formacie innym niż tekstowy. %package devel Summary: GHex devel files Summary(pl): Pliki nagłówkowe GHex Group: Development/Libraries Requires: %{name} = %{version} %description devel GHex devel files. %description devel -l pl Pliki nagłówkowe GHex. %package static Summary: GHex static library Summary(pl): Biblioteka statyczna GHex Group: Development/Libraries Requires: %{name}-devel = %{version} %description static GHex static library. %description static -l pl Biblioteka statyczna GHex. %prep %setup -q %patch0 -p1 %build glib-gettextize --copy --force %{__aclocal} %{__autoconf} %{__automake} %configure \ --disable-schemas-install %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %find_lang %{name} --with-gnome --all-name %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /usr/bin/scrollkeeper-update %gconf_schema_install %postun /sbin/ldconfig /usr/bin/scrollkeeper-update %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog README %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.* %{_desktopdir}/* %{_pixmapsdir}/* %{_datadir}/gnome-2.0/ui/* %{_sysconfdir}/gconf/schemas/* %{_omf_dest_dir}/%{name} %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libgtkhex.so %{_libdir}/libgtkhex.la %{_includedir}/* %{_pkgconfigdir}/*.pc %files static %defattr(644,root,root,755) %{_libdir}/*.a