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