From d3ef15abd29ceb47ce312b6307e4cb9660ff56e2 Mon Sep 17 00:00:00 2001 From: aflinta Date: Fri, 11 Apr 2003 16:54:40 +0000 Subject: [PATCH] - updated to version 2.3.0 Changed files: ghex.spec -> 1.3 --- ghex.spec | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/ghex.spec b/ghex.spec index 03b83c9..5c45fbf 100644 --- a/ghex.spec +++ b/ghex.spec @@ -1,16 +1,17 @@ Summary: GNOME2 binary editor Summary(pl): Edytor binarny dla GNOME2 Name: ghex -Version: 2.2.0 +Version: 2.3.0 Release: 1 Group: Applications/Editors License: GPL -Source0: ftp://ftp.gnome.org/pub/GNOME/sources/ghex/2.2/%{name}-%{version}.tar.bz2 -Patch0: %{name}-omf.patch -Patch1: %{name}-schema.patch +Source0: ftp://ftp.gnome.org/pub/GNOME/sources/ghex/2.3/%{name}-%{version}.tar.bz2 +Patch0: %{name}-schema.patch URL: http://pluton.ijs.si/~jaka/gnome.html#GHEX Requires(post): /usr/bin/scrollkeeper-update Requires(post): GConf2 +BuildRequires: gtk+2-devel +BuildRequires: libgnomeprint-devel >= 2.2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -24,10 +25,33 @@ przegl 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 lib +Summary(pl): Biblioteka statyczna GHex +Group: Development/Libraries +Requires: %{name}-devel = %{version} + +%description static +GHex static lib + +%description static -l pl +Biblioteka statyczna GHex + %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %configure --disable-schemas-install @@ -48,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT %post /usr/bin/scrollkeeper-update %gconf_schema_install +/sbin/ldconfig %postun -p /usr/bin/scrollkeeper-update @@ -55,8 +80,20 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.* %{_datadir}/applications/* %{_pixmapsdir}/* %{_datadir}/gnome-2.0/ui/* %{_sysconfdir}/gconf/schemas/* %{_omf_dest_dir}/%{name} + +%files devel +%defattr(644,root,root,755) +%{_includedir} +%{_libdir}/libgtkhex.so +%{_libdir}/libgtkhex.la +%{_pkgconfigdir}/*.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/*.a -- 2.44.0