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