]> git.pld-linux.org Git - packages/bless.git/blame - bless.spec
- tabs in preamble
[packages/bless.git] / bless.spec
CommitLineData
486f75aa 1Summary: Hex Editor written in GTK#
2cc89809 2Summary(pl.UTF-8): Edytor szesnastkowy napisany w GTK#
486f75aa 3Name: bless
158e8e5c 4Version: 0.4.1
486f75aa 5Release: 1
6License: GPL
7Group: Applications/Editors
8Source0: http://download.gna.org/bless/%{name}-%{version}.tar.gz
158e8e5c 9# Source0-md5: a3551ebecda11b115e98608894f5c0ec
486f75aa 10Source1: %{name}.desktop
11Patch0: %{name}-DESTDIR.patch
c30667b9 12Patch1: %{name}-help.patch
158e8e5c 13Patch2: %{name}-glyphs_overlap.patch
486f75aa 14URL: http://home.gna.org/bless/
0d0df242
JB
15BuildRequires: autoconf
16BuildRequires: automake
c30667b9 17BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.5
0d0df242 18BuildRequires: libtool
c30667b9 19BuildRequires: mono-csharp >= 1.1.4
780b8a90 20BuildRequires: mono-devel >= 1.0
486f75aa 21BuildRequires: pkgconfig
5f29cb10 22BuildRequires: scrollkeeper
1f61ffef 23Requires(post,postun): desktop-file-utils
486f75aa 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Bless aims to be a fast and customizable hex (binary) editor.
28
c2146cfd
JR
29%description -l pl.UTF-8
30Bless 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
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT%{_desktopdir}
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
c30667b9 56mv $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
61rm -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}/*
This page took 0.074237 seconds and 4 git commands to generate.