]> git.pld-linux.org Git - packages/mousepad.git/blob - mousepad.spec
- up to 0.4.0
[packages/mousepad.git] / mousepad.spec
1 Summary:        Text editor for Xfce based on Leafpad
2 Summary(pl.UTF-8):      Edytor tekstu dla Xfce oparty na Leafpadzie
3 Name:           mousepad
4 Version:        0.4.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Editors
8 Source0:        http://archive.xfce.org/src/apps/mousepad/0.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f55314c5dda6323883241e6cf01550a7
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.xfce.org/projects/mousepad/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools
15 BuildRequires:  gtk+2-devel >= 2:2.24.0
16 BuildRequires:  gtksourceview2-devel >= 2.2.2
17 BuildRequires:  intltool >= 0.35.0
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig >= 1:0.9.0
20 BuildRequires:  xfce4-dev-tools >= 4.12.0
21 Requires:       desktop-file-utils
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Mousepad is a lightweight text editor for Xfce. It features a simple
26 interface, broad character set support, printing with Xfprint, and
27 more. It opens lightening quick, making it perfect for editing config
28 files, doing quick scripting, and pretty printing documents like shell
29 scripts.
30
31 %description -l pl.UTF-8
32 Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
33 interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
34 Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
35 idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
36 pięknego drukowania dokumentów takich jak skrypty powłoki.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41
42 mkdir -p m4
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
74 %{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
This page took 0.061717 seconds and 4 git commands to generate.