]> git.pld-linux.org Git - packages/gedit0.git/blob - gedit0.spec
- release 2
[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.7.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Group(pl):      X11/Aplikacje/Edytory
9 Source0:        http://download.sourceforge.net/gedit/%{name}-%{version}.tar.gz
10 URL:            http://gedit.sourceforge.net/
11 BuildRequires:  gtk+-devel >= 1.2.7
12 BuildRequires:  imlib-devel
13 BuildRequires:  zlib-devel
14 BuildRequires:  gnome-libs-devel > 1.0.55
15 BuildRequires:  gnome-print-devel >= 0.18
16 BuildRequires:  libglade-devel >= 0.11
17 BuildRequires:  gettext-devel
18 Requires:       go-plugins
19 Obsoletes:      gedit-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
27 includes such features as split-screen mode, a plugin API, which
28 allows gEdit to be extended to support many features while remaining
29 small at its core, multiple document editing and many more functions.
30
31 %description -l pl
32 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
33 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
34 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
35 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
36 dokumentów naraz i wiele innych.
37
38 %prep
39 %setup -q
40
41 %build
42 gettextize --copy --force
43 LDFLAGS="-s" ; export LDFLAGS
44 %configure \
45         --disable-staic
46
47 make gtkrcdir=%{_datadir}/misc
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 make install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         sysdir=%{_applnkdir}/Office/Editors
55
56 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
57         FAQ README README.plugins ChangeLog TODO AUTHORS THANKS TODO-road_to_1.0.0
58
59 %find_lang %{name} --with-gnome
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %attr(755,root,root) %{_bindir}/gedit
68 %{_datadir}/pixmaps/*
69 %{_datadir}/mime-info/*
70 %{_applnkdir}/Office/Editors/gedit.desktop
71 %{_mandir}/man1/*
This page took 0.076137 seconds and 3 git commands to generate.