]> git.pld-linux.org Git - packages/leafpad.git/blob - leafpad.spec
- x32 rebuild
[packages/leafpad.git] / leafpad.spec
1 Summary:        GTK+2 based notepad clone
2 Summary(pl.UTF-8):      Klon notepada oparty na GTK+
3 Name:           leafpad
4 Version:        0.8.18.1
5 Release:        3
6 License:        GPL
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)
16
17 %description
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.
21
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".
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 cp /usr/share/automake/config.sub .
33 %configure \
34         --enable-chooser
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %find_lang %{name}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 umask 022
50 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
51
52 %postun
53 umask 022
54 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog README
59 %attr(755,root,root) %{_bindir}/*
60 %{_pixmapsdir}/*
61 %{_iconsdir}/hicolor/*/apps/*.png
62 %{_iconsdir}/hicolor/*/apps/*.svg
63 %{_desktopdir}/%{name}.desktop
This page took 0.055141 seconds and 3 git commands to generate.