- desktop file for bless
[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.2.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://download.gna.org/bless/%{name}-%{version}.tar.gz
9 # Source0-md5:  b9c70c141a059cd9593ce3b32b828d3b
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://home.gna.org/bless/
13 BuildRequires:  dotnet-gtk-sharp-devel >= 1.0
14 BuildRequires:  mono-csharp >= 1.0
15 BuildRequires:  pkgconfig
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Bless aims to be a fast and customizable hex (binary) editor.
20
21 %description -l pl
22 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
23 (binarnym).
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_desktopdir}
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc AUTHORS Changelog NEWS README doc/user
48 %attr(755,root,root) %{_bindir}/*
49 %dir %{_libdir}/%{name}
50 %attr(755,root,root) %{_libdir}/%{name}/*.exe
51 %{_desktopdir}/*
This page took 0.112526 seconds and 3 git commands to generate.