]> git.pld-linux.org Git - packages/bless.git/blob - bless.spec
- tabs in preamble
[packages/bless.git] / bless.spec
1 Summary:        Hex Editor written in GTK#
2 Summary(pl.UTF-8):      Edytor szesnastkowy napisany w GTK#
3 Name:           bless
4 Version:        0.4.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://download.gna.org/bless/%{name}-%{version}.tar.gz
9 # Source0-md5:  a3551ebecda11b115e98608894f5c0ec
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-DESTDIR.patch
12 Patch1:         %{name}-help.patch
13 Patch2:         %{name}-glyphs_overlap.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 Requires(post,postun):  desktop-file-utils
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Bless aims to be a fast and customizable hex (binary) editor.
28
29 %description -l pl.UTF-8
30 Bless stara się być szybkim i konfigurowalnym edytorem szesnastkowym
31 (binarnym).
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38
39 %build
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure \
45         --without-scrollkeeper
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_desktopdir}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56 mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/data/help_script.sh $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/bin
57
58 %find_lang %{name} --all-name --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %scrollkeeper_update_post
65 %update_desktop_database_post
66
67 %postun
68 %scrollkeeper_update_postun
69 %update_desktop_database_postun
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_bindir}/*
75 %dir %{_libdir}/%{name}-%{version}
76 %dir %{_libdir}/%{name}-%{version}/bin
77 %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
78 %{_libdir}/%{name}-%{version}/data
79 %{_desktopdir}/*.desktop
80 %{_omf_dest_dir}/%{name}
81 %{_pixmapsdir}/*
This page took 0.02768 seconds and 3 git commands to generate.