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