]> git.pld-linux.org Git - packages/mousepad.git/blame - mousepad.spec
up to 0.3.0, it is not dead! a complete rewrite in codebase
[packages/mousepad.git] / mousepad.spec
CommitLineData
d905f4bb 1%define xfce_version 4.6.0
1cd7ff8b 2Summary: Text editor for Xfce based on Leafpad
17f6bd1d 3Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie
31d6a18b 4Name: mousepad
5fc38ec8
ER
5Version: 0.3.0
6Release: 1
7License: GPL v2+
31d6a18b 8Group: X11/Applications/Editors
5fc38ec8
ER
9Source0: http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2
10# Source0-md5: dcfcdfaa8a19c89f35d5f6f64753e6e1
1cd7ff8b 11Patch0: %{name}-desktop.patch
6f2c4ad9 12URL: http://www.xfce.org/projects/mousepad/
41dc3ebe
KK
13BuildRequires: autoconf >= 2.52
14BuildRequires: automake
f2a0af7b 15BuildRequires: gettext-devel
5fc38ec8
ER
16BuildRequires: gtk+2-devel >= 2:2.20.0
17BuildRequires: gtksourceview2-devel >= 2.2.2
1cd7ff8b 18BuildRequires: intltool >= 0.35.0
41dc3ebe 19BuildRequires: libtool
1cd7ff8b 20BuildRequires: libxfcegui4-devel >= %{xfce_version}
b950b336 21BuildRequires: pkgconfig >= 1:0.9.0
d905f4bb 22BuildRequires: xfce4-dev-tools >= 4.6.0
709147ad 23Requires: desktop-file-utils
31d6a18b 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
cad234a2 27Mousepad is a lightweight text editor for Xfce. It features a simple
b950b336 28interface, broad character set support, printing with Xfprint, and
cad234a2 29more. It opens lightening quick, making it perfect for editing config
30files, doing quick scripting, and pretty printing documents like shell
31scripts.
31d6a18b 32
649d4aef 33%description -l pl.UTF-8
cad234a2 34Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
649d4aef
JR
35interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
36Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
37idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
38pięknego drukowania dokumentów takich jak skrypty powłoki.
31d6a18b 39
40%prep
946237d5 41%setup -q
1cd7ff8b 42%patch0 -p1
31d6a18b 43
5fc38ec8
ER
44%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
45
31d6a18b 46%build
f1720f4e 47%{__intltoolize}
41dc3ebe 48%{__libtoolize}
1cd7ff8b 49%{__aclocal}
41dc3ebe
KK
50%{__autoheader}
51%{__automake}
52%{__autoconf}
31d6a18b 53%configure
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
31d6a18b 58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
f62c8a3f 61%find_lang %{name}
62
31d6a18b 63%clean
64rm -rf $RPM_BUILD_ROOT
65
709147ad
ER
66%post
67%update_desktop_database
68
f62c8a3f 69%files -f %{name}.lang
31d6a18b 70%defattr(644,root,root,755)
71%doc AUTHORS ChangeLog NEWS README
b62ab4c6
MB
72%attr(755,root,root) %{_bindir}/mousepad
73%{_desktopdir}/mousepad.desktop
This page took 0.049578 seconds and 4 git commands to generate.