1 Summary: Hex Editor written in GTK#
2 Summary(pl): Edytor szesnastkowy napisany w GTK#
7 Group: Applications/Editors
8 Source0: http://download.gna.org/bless/%{name}-%{version}.tar.gz
9 # Source0-md5: e161996a67155303d9e6a04fa28662ca
10 Source1: %{name}.desktop
11 Patch0: %{name}-DESTDIR.patch
12 Patch1: %{name}-help.patch
13 URL: http://home.gna.org/bless/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.5
17 BuildRequires: libtool
18 BuildRequires: mono-csharp >= 1.1.4
19 BuildRequires: mono-devel >= 1.0
20 BuildRequires: pkgconfig
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Bless aims to be a fast and customizable hex (binary) editor.
27 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
41 --without-scrollkeeper
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_desktopdir}
49 DESTDIR=$RPM_BUILD_ROOT
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/data/help_script.sh $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/bin
54 %find_lang %{name} --all-name --with-gnome
57 rm -rf $RPM_BUILD_ROOT
60 %scrollkeeper_update_post
61 %update_desktop_database_post
64 %scrollkeeper_update_postun
65 %update_desktop_database_postun
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README
70 %attr(755,root,root) %{_bindir}/*
71 %dir %{_libdir}/%{name}-%{version}
72 %dir %{_libdir}/%{name}-%{version}/bin
73 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
74 %{_libdir}/%{name}-%{version}/data
76 %{_omf_dest_dir}/%{name}