]> git.pld-linux.org Git - packages/bless.git/blob - bless.spec
- added BR: scrollkeeper
[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 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)
24
25 %description
26 Bless aims to be a fast and customizable hex (binary) editor.
27
28 %description -l pl
29 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
30 (binarnym).
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 %{__libtoolize}
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 %configure \
44         --without-scrollkeeper
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
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
56
57 %find_lang %{name} --all-name --with-gnome
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %scrollkeeper_update_post
64 %update_desktop_database_post
65
66 %postun
67 %scrollkeeper_update_postun
68 %update_desktop_database_postun
69
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
78 %{_desktopdir}/*
79 %{_omf_dest_dir}/%{name}
80 %{_pixmapsdir}/*
This page took 0.068154 seconds and 4 git commands to generate.