- updated to 0.4.0
[packages/bless.git] / bless.spec
1 Summary:        Hex Editor written in GTK#
2 Summary(pl):    Edytor szesnastkowy napisany w GTK#
3 Name:           bless
4 Version:        0.4.0
5 Release:        1
6 License:        GPL
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:  dotnet-gtk-sharp2-devel >= 1.9.5
15 BuildRequires:  mono-csharp >= 1.1.4
16 BuildRequires:  mono-devel >= 1.0
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Bless aims to be a fast and customizable hex (binary) editor.
22
23 %description -l pl
24 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
25 (binarnym).
26
27 %prep
28 %setup -q
29 %patch0 -p1
30 %patch1 -p1
31
32 %build
33 %{__libtoolize}
34 %{__aclocal}
35 %{__autoconf}
36 %{__automake}
37 %configure \
38         --without-scrollkeeper
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_desktopdir}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
49 mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/data/help_script.sh $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/bin
50
51 %find_lang %{name} --all-name --with-gnome
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %scrollkeeper_update_post
58 %update_desktop_database_post
59
60 %postun
61 %scrollkeeper_update_postun
62 %update_desktop_database_postun
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README
67 %attr(755,root,root) %{_bindir}/*
68 %dir %{_libdir}/%{name}-%{version}
69 %{_libdir}/%{name}-%{version}/data
70 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
71 %{_desktopdir}/*
72 %{_omf_dest_dir}/%{name}
73 %{_pixmapsdir}/*
This page took 0.034432 seconds and 3 git commands to generate.