- release 4
[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
03d56db7 8Release: 4
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
6f2c4ad9 14URL: http://www.xfce.org/projects/mousepad/
41dc3ebe
KK
15BuildRequires: autoconf >= 2.52
16BuildRequires: automake
f2a0af7b 17BuildRequires: gettext-devel
b62ab4c6 18BuildRequires: gtk+2-devel >= 2:2.10.6
1cd7ff8b 19BuildRequires: intltool >= 0.35.0
41dc3ebe 20BuildRequires: libtool
1cd7ff8b 21BuildRequires: libxfcegui4-devel >= %{xfce_version}
b950b336 22BuildRequires: pkgconfig >= 1:0.9.0
d905f4bb 23BuildRequires: xfce4-dev-tools >= 4.6.0
709147ad 24Requires: desktop-file-utils
31d6a18b 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
cad234a2 28Mousepad is a lightweight text editor for Xfce. It features a simple
b950b336 29interface, broad character set support, printing with Xfprint, and
cad234a2 30more. It opens lightening quick, making it perfect for editing config
31files, doing quick scripting, and pretty printing documents like shell
32scripts.
31d6a18b 33
649d4aef 34%description -l pl.UTF-8
cad234a2 35Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
649d4aef
JR
36interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
37Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
38idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
39pięknego drukowania dokumentów takich jak skrypty powłoki.
31d6a18b 40
41%prep
946237d5 42%setup -q
1cd7ff8b 43%patch0 -p1
31d6a18b 44
45%build
f1720f4e 46%{__intltoolize}
41dc3ebe 47%{__libtoolize}
1cd7ff8b 48%{__aclocal}
41dc3ebe
KK
49%{__autoheader}
50%{__automake}
51%{__autoconf}
31d6a18b 52%configure
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
d905f4bb
MB
61mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
62
f62c8a3f 63%find_lang %{name}
64
31d6a18b 65%clean
66rm -rf $RPM_BUILD_ROOT
67
709147ad
ER
68%post
69%update_desktop_database
70
f62c8a3f 71%files -f %{name}.lang
31d6a18b 72%defattr(644,root,root,755)
73%doc AUTHORS ChangeLog NEWS README
b62ab4c6
MB
74%attr(755,root,root) %{_bindir}/mousepad
75%{_desktopdir}/mousepad.desktop
76%{_pixmapsdir}/mousepad.png
This page took 0.107314 seconds and 4 git commands to generate.