]> git.pld-linux.org Git - packages/gedit0.git/blob - gedit0.spec
- pass gnome-config --{cflag,lib}s to {C,LD}FLAGS
[packages/gedit0.git] / gedit0.spec
1 Summary:        gEdit - small but powerful text editor for X Window
2 Summary(pl):    gEdit - ma³y ale potê¿ny edytor tekstu dla X Window
3 Name:           gedit
4 Version:        0.9.6
5 Release:        2
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Editors
9 Group(de):      X11/Applikationen/Editors
10 Group(pl):      X11/Aplikacje/Edytory
11 Group(pt):      X11/Aplicações/Editores
12 Source0:        http://ftp1.sourceforge.net/gedit/%{name}-%{version}.tar.gz
13 URL:            http://gedit.sourceforge.net/
14 Patch0:         %{name}-use_AM_GNU_GETTEXT.patch
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-libs-devel > 1.0.55
19 BuildRequires:  gnome-print-devel >= 0.28
20 BuildRequires:  gnome-vfs >= 1.0
21 BuildRequires:  gtk+-devel >= 1.2.7
22 BuildRequires:  imlib-devel
23 BuildRequires:  libglade-devel >= 0.11
24 BuildRequires:  zlib-devel
25 Obsoletes:      gedit-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30
31 %description
32 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
33 includes such features as split-screen mode, a plugin API, which
34 allows gEdit to be extended to support many features while remaining
35 small at its core, multiple document editing and many more functions.
36
37 %description -l pl
38 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
39 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
40 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
41 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
42 dokumentów naraz i wiele innych.
43
44 %prep
45 %setup -q
46 %patch -p1
47
48 rm -f acinclude.m4
49
50 %build
51 gettextize --copy --force
52 aclocal -I macros
53 autoconf
54 automake -a -c
55 %configure \
56         --disable-static
57
58 %{__make} gtkrcdir=%{_datadir}/misc
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         sysdir=%{_applnkdir}/Office/Editors
66
67 gzip -9nf FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
68
69 %find_lang %{name} --with-gnome
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc *.gz
77 %attr(755,root,root) %{_bindir}/gedit
78 %{_pixmapsdir}/*
79 %{_datadir}/mime-info/*
80 %{_applnkdir}/Office/Editors/gedit.desktop
81 %{_mandir}/man1/*
This page took 0.059351 seconds and 3 git commands to generate.