1 %define xfce_version 4.6.0
2 Summary: Text editor for Xfce based on Leafpad
3 Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie
8 Group: X11/Applications/Editors
9 Source0: http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2
10 # Source0-md5: dcfcdfaa8a19c89f35d5f6f64753e6e1
11 Patch0: %{name}-desktop.patch
12 URL: http://www.xfce.org/projects/mousepad/
13 BuildRequires: autoconf >= 2.52
14 BuildRequires: automake
15 BuildRequires: gettext-devel
16 BuildRequires: gtk+2-devel >= 2:2.20.0
17 BuildRequires: gtksourceview2-devel >= 2.2.2
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: libtool
20 BuildRequires: libxfcegui4-devel >= %{xfce_version}
21 BuildRequires: pkgconfig >= 1:0.9.0
22 BuildRequires: xfce4-dev-tools >= 4.6.0
23 Requires: desktop-file-utils
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Mousepad is a lightweight text editor for Xfce. It features a simple
28 interface, broad character set support, printing with Xfprint, and
29 more. It opens lightening quick, making it perfect for editing config
30 files, doing quick scripting, and pretty printing documents like shell
33 %description -l pl.UTF-8
34 Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
35 interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
36 Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
37 idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
38 pięknego drukowania dokumentów takich jak skrypty powłoki.
44 %{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
57 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
67 %update_desktop_database
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_bindir}/mousepad
73 %{_desktopdir}/mousepad.desktop