]> git.pld-linux.org Git - packages/bless.git/blobdiff - bless.spec
- tabs in preamble
[packages/bless.git] / bless.spec
index 0a89c3caad3d3557cc0ff17920650d7cd5d88729..ad13256f7969826b547c5addd95abf0ecdfd8501 100644 (file)
@@ -1,33 +1,48 @@
 Summary:       Hex Editor written in GTK#
-Summary(pl):   Edytor szesnastkowy napisany w GTK#
+Summary(pl.UTF-8):     Edytor szesnastkowy napisany w GTK#
 Name:          bless
-Version:       0.3.1
+Version:       0.4.1
 Release:       1
 License:       GPL
 Group:         Applications/Editors
 Source0:       http://download.gna.org/bless/%{name}-%{version}.tar.gz
-# Source0-md5: 91597bacbffbd24b3ff5b19de60f7a08
+# Source0-md5: a3551ebecda11b115e98608894f5c0ec
 Source1:       %{name}.desktop
 Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-help.patch
+Patch2:                %{name}-glyphs_overlap.patch
 URL:           http://home.gna.org/bless/
-BuildRequires: dotnet-gtk-sharp-devel >= 1.0
-BuildRequires: mono-csharp >= 1.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: dotnet-gtk-sharp2-devel >= 1.9.5
+BuildRequires: libtool
+BuildRequires: mono-csharp >= 1.1.4
+BuildRequires: mono-devel >= 1.0
 BuildRequires: pkgconfig
+BuildRequires: scrollkeeper
+Requires(post,postun): desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Bless aims to be a fast and customizable hex (binary) editor.
 
-%description -l pl
-Bless stara siê byæ szybkim i konfigurowalnym edytorem szesnastkowym
+%description -l pl.UTF-8
+Bless stara się być szybkim i konfigurowalnym edytorem szesnastkowym
 (binarnym).
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --without-scrollkeeper
 %{__make}
 
 %install
@@ -38,14 +53,29 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+mv $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/data/help_script.sh $RPM_BUILD_ROOT%{_libdir}/%{name}-%{version}/bin
+
+%find_lang %{name} --all-name --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%post
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS Changelog NEWS README doc/user
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/*.exe
-%{_desktopdir}/*
+%dir %{_libdir}/%{name}-%{version}
+%dir %{_libdir}/%{name}-%{version}/bin
+%attr(755,root,root) %{_libdir}/%{name}-%{version}/bin/*
+%{_libdir}/%{name}-%{version}/data
+%{_desktopdir}/*.desktop
+%{_omf_dest_dir}/%{name}
+%{_pixmapsdir}/*
This page took 0.066134 seconds and 4 git commands to generate.