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