]> git.pld-linux.org Git - packages/mousepad.git/blob - mousepad.spec
up to 0.3.0, it is not dead! a complete rewrite in codebase
[packages/mousepad.git] / mousepad.spec
1 %define         xfce_version    4.6.0
2 Summary:        Text editor for Xfce based on Leafpad
3 Summary(pl.UTF-8):      Edytor tekstu dla Xfce oparty na Leafpadzie
4 Name:           mousepad
5 Version:        0.3.0
6 Release:        1
7 License:        GPL v2+
8 Group:          X11/Applications/Editors
9 Source0:        http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2
10 # Source0-md5:  dcfcdfaa8a19c89f35d5f6f64753e6e1
11 Patch0:         %{name}-desktop.patch
12 URL:            http://www.xfce.org/projects/mousepad/
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2:2.20.0
17 BuildRequires:  gtksourceview2-devel >= 2.2.2
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 Requires:       desktop-file-utils
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.UTF-8
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 jest
37 idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
38 pięknego drukowania dokumentów takich jak skrypty powłoki.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
45
46 %build
47 %{__intltoolize}
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoheader}
51 %{__automake}
52 %{__autoconf}
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_desktop_database
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
This page took 0.075938 seconds and 3 git commands to generate.