1 Summary: GTK+2 based notepad clone
2 Summary(pl.UTF-8): Klon notepada oparty na GTK+
7 Group: X11/Applications/Editors
8 Source0: http://savannah.nongnu.org/download/leafpad/%{name}-%{version}.tar.gz
9 # Source0-md5: 254a72fc67505e3aa52884c729cd7b97
10 Patch0: %{name}-werror.patch
11 URL: http://tarot.freeshell.org/leafpad/
12 BuildRequires: automake
13 BuildRequires: gtk+2-devel >= 1:2.0.0
14 BuildRequires: pkgconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Leafpad is a simple GTK+ based text editor. The user interface is
19 similar to "notepad", and it aims to be lighter than GEdit and KWrite
20 and to be as useful as them.
22 %description -l pl.UTF-8
23 Leafpad to prosty edytor tekstu oparty na GTK+. Program w założeniach
24 ma być lżejszy od GEdita i KWrite'a, ale tak samo użyteczny jak one.
25 Interfejs użytkownika jest podobny do programu "notepad".
32 cp /usr/share/automake/config.sub .
38 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
50 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
54 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog README
59 %attr(755,root,root) %{_bindir}/*
61 %{_iconsdir}/hicolor/*/apps/*.png
62 %{_iconsdir}/hicolor/*/apps/*.svg
63 %{_desktopdir}/%{name}.desktop