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 Patch2: %{name}-buildfixes.patch
14 URL: http://home.gna.org/bless/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.5
18 BuildRequires: libtool
19 BuildRequires: mono-csharp >= 1.1.4
20 BuildRequires: mono-devel >= 1.0
21 BuildRequires: pkgconfig
22 BuildRequires: scrollkeeper
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Bless aims to be a fast and customizable hex (binary) editor.
29 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
44 --without-scrollkeeper
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
52 DESTDIR=$RPM_BUILD_ROOT
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/data/help_script.sh $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/bin
57 %find_lang %{name} --all-name --with-gnome
60 rm -rf $RPM_BUILD_ROOT
63 %scrollkeeper_update_post
64 %update_desktop_database_post
67 %scrollkeeper_update_postun
68 %update_desktop_database_postun
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README
73 %attr(755,root,root) %{_bindir}/*
74 %dir %{_libdir}/%{name}-%{version}
75 %dir %{_libdir}/%{name}-%{version}/bin
76 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
77 %{_libdir}/%{name}-%{version}/data
79 %{_omf_dest_dir}/%{name}