]>
Commit | Line | Data |
---|---|---|
486f75aa | 1 | Summary: Hex Editor written in GTK# |
c2146cfd | 2 | Summary(pl.UTF-8): Edytor szesnastkowy napisany w GTK# |
486f75aa | 3 | Name: bless |
158e8e5c | 4 | Version: 0.4.1 |
486f75aa | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Editors | |
8 | Source0: http://download.gna.org/bless/%{name}-%{version}.tar.gz | |
158e8e5c | 9 | # Source0-md5: a3551ebecda11b115e98608894f5c0ec |
486f75aa | 10 | Source1: %{name}.desktop |
11 | Patch0: %{name}-DESTDIR.patch | |
c30667b9 | 12 | Patch1: %{name}-help.patch |
158e8e5c | 13 | Patch2: %{name}-glyphs_overlap.patch |
486f75aa | 14 | URL: http://home.gna.org/bless/ |
0d0df242 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
c30667b9 | 17 | BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.5 |
0d0df242 | 18 | BuildRequires: libtool |
c30667b9 | 19 | BuildRequires: mono-csharp >= 1.1.4 |
780b8a90 | 20 | BuildRequires: mono-devel >= 1.0 |
486f75aa | 21 | BuildRequires: pkgconfig |
5f29cb10 | 22 | BuildRequires: scrollkeeper |
1f61ffef | 23 | Requires(post,postun): desktop-file-utils |
486f75aa | 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 | ||
c2146cfd JR |
29 | %description -l pl.UTF-8 |
30 | Bless stara się być szybkim i konfigurowalnym edytorem szesnastkowym | |
486f75aa | 31 | (binarnym). |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | %patch0 -p1 | |
c30667b9 | 36 | %patch1 -p1 |
5f29cb10 | 37 | %patch2 -p1 |
486f75aa | 38 | |
39 | %build | |
c30667b9 | 40 | %{__libtoolize} |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__automake} | |
44 | %configure \ | |
45 | --without-scrollkeeper | |
486f75aa | 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} | |
c30667b9 | 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 | |
486f75aa | 59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
c30667b9 | 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 | |
486f75aa | 72 | %defattr(644,root,root,755) |
c30667b9 | 73 | %doc AUTHORS ChangeLog NEWS README |
486f75aa | 74 | %attr(755,root,root) %{_bindir}/* |
c30667b9 | 75 | %dir %{_libdir}/%{name}-%{version} |
0d0df242 | 76 | %dir %{_libdir}/%{name}-%{version}/bin |
c30667b9 | 77 | %attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/* |
0d0df242 | 78 | %{_libdir}/%{name}-%{version}/data |
efbab68c | 79 | %{_desktopdir}/*.desktop |
c30667b9 | 80 | %{_omf_dest_dir}/%{name} |
81 | %{_pixmapsdir}/* |