]> git.pld-linux.org Git - packages/gnotepad+.git/blob - gnotepad+.spec
c6611ae0d72a5dfab23fc0361b41c8d87e9011c4
[packages/gnotepad+.git] / gnotepad+.spec
1 Summary:        Simple but versatile editor for X11
2 Summary(pl.UTF-8):      Prosty ale wszechstronny edytor dla X11
3 Name:           gnotepad+
4 Version:        1.3.3
5 Release:        6
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        http://dl.sourceforge.net/gnotepad/%{name}-%{version}.tar.gz
9 # Source0-md5:  00f1de16e84cbbe65d85acc542b2791f
10 Patch0:         %{name}-desktop.patch
11 URL:            http://gnotepad.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  gnome-libs-devel
16 #BuildRequires: gtkhtml-devel
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 gnotepad+ is an easy-to-use, yet fairly feature-rich, simple text
22 editor for systems running X11 and using GTK+. It is designed for as
23 little bloat as possible, while still providing many of the common
24 features found in a modern GUI-based text editor.
25
26 %description -l pl.UTF-8
27 gnotepad+ to prosty w użyciu, mający już sporo możliwości edytor
28 zwykłego tekstu dla systemów z X11 i GTK+. Został tak zaprojektowany,
29 by być możliwie małym, ale mieć wiele możliwości spotykanych we
30 współczesnych edytorach tekstu z graficznym interfejsem użytkownika.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 rm -f missing
38 %{__libtoolize}
39 %{__gettextize}
40 %{__aclocal}
41 %{__autoconf}
42 %{__automake}
43 # does not compile with gtkhtml-1.0.
44 %configure \
45         --enable-gnome \
46         --enable-gtkhtml=no
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         Applicationsdir=%{_applnkdir}/Editors
55
56 %find_lang %{name} --with-gnome
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS NEWS README TODO ChangeLog
64 %attr(755,root,root) %{_bindir}/gnp
65 %{_mandir}/man1/*
66 %{_applnkdir}/Editors/gnotepad+.desktop
67 %{_datadir}/gnotepad+
This page took 0.064736 seconds and 2 git commands to generate.