]> git.pld-linux.org Git - packages/mousepad.git/blob - mousepad.spec
- up to 0.2.10 (Xfce 4.4RC2)
[packages/mousepad.git] / mousepad.spec
1 #
2 %define         xfce_version    4.3.99.2
3 #
4 Summary:        Text editor for Xfce based on Leafpad
5 Summary(pl):    Edytor tekstu dla Xfce oparty na Leafpadzie
6 Name:           mousepad
7 Version:        0.2.10
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:  c943c9408cbb35be73c45f75d945b34d
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 >= %{xfce_version}
23 #Requires:      xfprint >= 4.2
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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
31 scripts.
32
33 %description -l pl
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
37 jest idealny do edycji plików konfiguracyjnych, pisania ma³ych
38 skryptów i piêknego drukowania dokumentów takich jak skrypty pow³oki.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
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 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README
67 %attr(755,root,root) %{_bindir}/mousepad
68 %{_desktopdir}/mousepad.desktop
69 %{_pixmapsdir}/mousepad.png
This page took 0.063949 seconds and 3 git commands to generate.