]> git.pld-linux.org Git - packages/mousepad.git/blobdiff - mousepad.spec
- up to 0.2.10 (Xfce 4.4RC2)
[packages/mousepad.git] / mousepad.spec
index f877aae58e23422246fdab9a7facadb9ea4aff9a..bc2cc23729d646a462d1e7a71c0b439695c571c1 100644 (file)
@@ -1,18 +1,26 @@
-Summary:       Mousepad - a text editor for Xfce based on Leafpad
-Summary(pl):   Mousepad - edytor dla Xfce oparty na Leafpadzie
+#
+%define                xfce_version    4.3.99.2
+#
+Summary:       Text editor for Xfce based on Leafpad
+Summary(pl):   Edytor tekstu dla Xfce oparty na Leafpadzie
 Name:          mousepad
-Version:       0.2.0
-Release:       0.1
+Version:       0.2.10
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Editors
-Source0:       http://erikharrison.net/software/%{name}-%{version}.tar.gz
-# Source0-md5: e554145e8fffcd5fd8d3e027575e0765
+Source0:       http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
+# Source0-md5: c943c9408cbb35be73c45f75d945b34d
+Patch0:                %{name}-desktop.patch
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.4.0
-BuildRequires: libxfcegui4-devel >= 4.2.0
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libtool
+BuildRequires: libxfcegui4-devel >= %{xfce_version}
 BuildRequires: pkgconfig  >= 1:0.9.0
-Requires:      libxfcegui4 >= 4.2.0
-Requires:      xfprint >= 4.2
+BuildRequires: xfce4-dev-tools >= %{xfce_version}
+#Requires:     xfprint >= 4.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,8 +39,14 @@ skrypt
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
 %configure
 %{__make}
 
@@ -50,6 +64,6 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%{_desktopdir}/*
-%{_pixmapsdir}/*
+%attr(755,root,root) %{_bindir}/mousepad
+%{_desktopdir}/mousepad.desktop
+%{_pixmapsdir}/mousepad.png
This page took 0.122044 seconds and 4 git commands to generate.