]> git.pld-linux.org Git - packages/gedit0.git/blob - gedit0.spec
- Requires: go -> Requires: go-plugins
[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.5.4
5 Release:        1
6 Copyright:      GPL
7 Group:          X11/Applications/Editors
8 Group(pl):      X11/Aplikacje/Edytory
9 Source:         http://gedit.pn.org/%{name}-%{version}.tar.gz
10 Patch0:         gedit-desktop.patch
11 Patch1:         gedit-DESTDIR.patch
12 Patch2:         gedit-dcl.patch
13 Patch3:         gedit-plugins.patch
14 URL:            http://gedit.pn.org
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRequires:  glib-devel >= 1.2.0
17 BuildRequires:  imlib-devel
18 BuildRequires:  zlib-devel
19 BuildRequires:  XFree86-devel
20 BuildRequires:  gnome-libs-devel
21 Requires:       go-plugins
22 BuildRoot:      /tmp/%{name}-%{version}-root
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
29 It includes such features as split-screen mode, a plugin API, which 
30 allows gEdit to be extended to support many features while remaining 
31 small at its core, multiple document editing and many more functions.
32
33 %description -l pl
34 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
35 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
36 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
37 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu 
38 dokumentów naraz i wiele innych.
39
40 %package devel
41 Summary:        Develop plugins for the gEdit editor
42 Summary(pl):    Biblioteki umo¿liwiaj±ce pisanie wtyczek dla gEdit
43 Group:          Development/Libraries
44 Group(pl):      Programowanie/Biblioteki
45 Requires:       %{name} = %{version}
46
47 %description devel
48 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
49 This package allows you to develop plugins that work within
50 gEdit.  Plugins can create new documents and manipulate documents
51 in arbitrary ways.
52
53 %description devel -l pl
54 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
55 Ten pakiet zawiera biblioteki umo¿liwiaj±ce pisanie "wtyczek" dla gEdita.
56 "Wtyczki" mog± tworzyæ nowe dokumenty i manipulowaæ nimi na wiele róznych
57 sposobów.
58  
59 %prep
60 %setup -q
61 %patch0 -p0
62 %patch1 -p1
63 %patch2 -p0
64 %patch3 -p0
65
66 %build
67 LDFLAGS="-s" ; export LDFLAGS
68 %configure
69
70 make
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 make install-strip DESTDIR=$RPM_BUILD_ROOT
76
77 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/gedit.1 \
78         FAQ README README.plugins ChangeLog TODO AUTHORS THANKS KNOWNBUGS
79
80 %find_lang %{name}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc {FAQ,README,ChangeLog,TODO,AUTHORS,THANKS,README.plugins,KNOWNBUGS}.gz
88 %attr(755,root,root) %{_bindir}/gedit
89
90 %{_datadir}/applnk/Editors/gedit.desktop
91
92 %dir %{_datadir}/gnome/help/gedit
93 %{_datadir}/gnome/help/gedit/C
94 %lang(no) %{_datadir}/gnome/help/gedit/no
95
96 %{_datadir}/pixmaps/*
97 %{_datadir}/mime-info/*
98 %{_datadir}/geditrc
99 %{_mandir}/man1/gedit.1.gz
100
101 %files devel
102 %defattr(644,root,root,755)
103 %dir %{_includedir}/gedit
104 %{_includedir}/gedit/client.h
105 %{_libdir}/libclient.a
This page took 0.065073 seconds and 3 git commands to generate.