d1fee204fe3bba2709e40f4513f12d47a0bf7a1a
[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.3.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:  91597bacbffbd24b3ff5b19de60f7a08
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:  mono-devel >= 1.0
16 BuildRequires:  pkgconfig
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Bless aims to be a fast and customizable hex (binary) editor.
21
22 %description -l pl
23 Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
24 (binarnym).
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %configure
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_desktopdir}
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS Changelog NEWS README doc/user
49 %attr(755,root,root) %{_bindir}/*
50 %dir %{_libdir}/%{name}
51 %attr(755,root,root) %{_libdir}/%{name}/*.exe
52 %{_desktopdir}/*
This page took 0.050244 seconds and 2 git commands to generate.