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