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