]> git.pld-linux.org Git - packages/leafpad.git/blame - leafpad.spec
- fix build with -Werror=format-security, release 2
[packages/leafpad.git] / leafpad.spec
CommitLineData
e62e50a9 1Summary: GTK+2 based notepad clone
af3267c0 2Summary(pl.UTF-8): Klon notepada oparty na GTK+
e62e50a9 3Name: leafpad
4fa9963c 4Version: 0.8.18.1
a0c38cab 5Release: 2
e62e50a9 6License: GPL
7Group: X11/Applications/Editors
bd27ac68 8Source0: http://savannah.nongnu.org/download/leafpad/%{name}-%{version}.tar.gz
4fa9963c 9# Source0-md5: 254a72fc67505e3aa52884c729cd7b97
a0c38cab 10Patch0: %{name}-werror.patch
e62e50a9 11URL: http://tarot.freeshell.org/leafpad/
46774973 12BuildRequires: automake
ddd4a8db 13BuildRequires: gtk+2-devel >= 1:2.0.0
e62e50a9 14BuildRequires: pkgconfig
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Leafpad is a simple GTK+ based text editor. The user interface is
19similar to "notepad", and it aims to be lighter than GEdit and KWrite
20and to be as useful as them.
21
3a70148e
JR
22%description -l pl.UTF-8
23Leafpad to prosty edytor tekstu oparty na GTK+. Program w założeniach
24ma być lżejszy od GEdita i KWrite'a, ale tak samo użyteczny jak one.
25Interfejs użytkownika jest podobny do programu "notepad".
e62e50a9 26
27%prep
28%setup -q
a0c38cab 29%patch0 -p1
e62e50a9 30
31%build
46774973 32cp /usr/share/automake/config.sub .
89ee43b8 33%configure \
34 --enable-chooser
e62e50a9 35%{__make}
36
37%install
38rm -rf $RPM_BUILD_ROOT
e62e50a9 39
40%{__make} install \
41 DESTDIR=$RPM_BUILD_ROOT
42
e62e50a9 43%find_lang %{name}
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
21f43f05 48%post
49umask 022
50[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
51
52%postun
53umask 022
54[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
55
e62e50a9 56%files -f %{name}.lang
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog README
59%attr(755,root,root) %{_bindir}/*
60%{_pixmapsdir}/*
db29b4c8 61%{_iconsdir}/hicolor/*/apps/*.png
62%{_iconsdir}/hicolor/*/apps/*.svg
006cb0d0 63%{_desktopdir}/%{name}.desktop
This page took 0.069589 seconds and 4 git commands to generate.