- updated for 0.2.16
[packages/mousepad.git] / mousepad.spec
CommitLineData
1cd7ff8b 1#
d905f4bb 2%define xfce_version 4.6.0
1cd7ff8b 3#
4Summary: Text editor for Xfce based on Leafpad
17f6bd1d 5Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie
31d6a18b 6Name: mousepad
d905f4bb 7Version: 0.2.16
d20c0491 8Release: 1
f62c8a3f 9License: GPL v2
31d6a18b 10Group: X11/Applications/Editors
1cd7ff8b 11Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
d905f4bb 12# Source0-md5: d98854edb76d823ac20b266fdf5a64a1
1cd7ff8b 13Patch0: %{name}-desktop.patch
41dc3ebe
KK
14BuildRequires: autoconf >= 2.52
15BuildRequires: automake
f2a0af7b 16BuildRequires: gettext-devel
b62ab4c6 17BuildRequires: gtk+2-devel >= 2:2.10.6
1cd7ff8b 18BuildRequires: intltool >= 0.35.0
41dc3ebe 19BuildRequires: libtool
1cd7ff8b 20BuildRequires: libxfcegui4-devel >= %{xfce_version}
b950b336 21BuildRequires: pkgconfig >= 1:0.9.0
d905f4bb 22BuildRequires: xfce4-dev-tools >= 4.6.0
31d6a18b 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
cad234a2 26Mousepad is a lightweight text editor for Xfce. It features a simple
b950b336 27interface, broad character set support, printing with Xfprint, and
cad234a2 28more. It opens lightening quick, making it perfect for editing config
29files, doing quick scripting, and pretty printing documents like shell
30scripts.
31d6a18b 31
649d4aef 32%description -l pl.UTF-8
cad234a2 33Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
649d4aef
JR
34interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
35Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
36idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
37pięknego drukowania dokumentów takich jak skrypty powłoki.
31d6a18b 38
39%prep
946237d5 40%setup -q
1cd7ff8b 41%patch0 -p1
31d6a18b 42
43%build
f1720f4e 44%{__intltoolize}
41dc3ebe 45%{__libtoolize}
1cd7ff8b 46%{__aclocal}
41dc3ebe
KK
47%{__autoheader}
48%{__automake}
49%{__autoconf}
31d6a18b 50%configure
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
d905f4bb
MB
59mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
60
f62c8a3f 61%find_lang %{name}
62
31d6a18b 63%clean
64rm -rf $RPM_BUILD_ROOT
65
f62c8a3f 66%files -f %{name}.lang
31d6a18b 67%defattr(644,root,root,755)
68%doc AUTHORS ChangeLog NEWS README
b62ab4c6
MB
69%attr(755,root,root) %{_bindir}/mousepad
70%{_desktopdir}/mousepad.desktop
71%{_pixmapsdir}/mousepad.png
This page took 0.282759 seconds and 4 git commands to generate.