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