]> git.pld-linux.org Git - packages/mousepad.git/blob - mousepad.spec
19d94494937174fd18ab1d705bcd7c9f30b02694
[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.2
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:  98d908842d4a93c35756a67d681c08fe
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:  gtksourceview3-devel
17 BuildRequires:  intltool >= 0.35.0
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig >= 1:0.9.0
20 BuildRequires:  xfce4-dev-tools >= 4.14.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 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
62 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %update_desktop_database
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS README
75 %attr(755,root,root) %{_bindir}/mousepad
76 %{_desktopdir}/mousepad.desktop
77 %{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
78 %{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
This page took 0.044237 seconds and 2 git commands to generate.