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