]> git.pld-linux.org Git - packages/mousepad.git/blobdiff - mousepad.spec
- release 4
[packages/mousepad.git] / mousepad.spec
index 6a32b20da7c75d644c6b8b544b1b399c343c761f..402aa488a8d860e743e364da0008f0992b9911bc 100644 (file)
@@ -1,16 +1,17 @@
 #
-%define                xfce_version    4.4.0
+%define                xfce_version    4.6.0
 #
 Summary:       Text editor for Xfce based on Leafpad
-Summary(pl.UTF-8):   Edytor tekstu dla Xfce oparty na Leafpadzie
+Summary(pl.UTF-8):     Edytor tekstu dla Xfce oparty na Leafpadzie
 Name:          mousepad
-Version:       0.2.12
-Release:       1
+Version:       0.2.16
+Release:       4
 License:       GPL v2
 Group:         X11/Applications/Editors
 Source0:       http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 8549b2012afc761cb4548b138e2ee23c
+# Source0-md5: d98854edb76d823ac20b266fdf5a64a1
 Patch0:                %{name}-desktop.patch
+URL:           http://www.xfce.org/projects/mousepad/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: gettext-devel
@@ -19,8 +20,8 @@ BuildRequires:        intltool >= 0.35.0
 BuildRequires: libtool
 BuildRequires: libxfcegui4-devel >= %{xfce_version}
 BuildRequires: pkgconfig >= 1:0.9.0
-BuildRequires: xfce4-dev-tools >= %{xfce_version}
-#Requires:     xfprint >= 4.2
+BuildRequires: xfce4-dev-tools >= 4.6.0
+Requires:      desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,6 +43,7 @@ pięknego drukowania dokumentów takich jak skrypty powłoki.
 %patch0 -p1
 
 %build
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoheader}
@@ -56,11 +58,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
This page took 0.036566 seconds and 4 git commands to generate.