]> git.pld-linux.org Git - packages/gedit.git/blob - gedit.spec
- updated to version 2.0.2
[packages/gedit.git] / gedit.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:           gedit2
4 Version:        2.0.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Source0:        http://ftp.gnome.org/pub/gnome/pre-gnome2/sources/gedit/gedit-%{version}.tar.bz2
9 URL:            http://gedit.sourceforge.net/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRequires:  GConf2-devel >= 1.2.1
14 BuildRequires:  intltool >= 0.22
15 BuildRequires:  libgnomeui-devel >= 2.0.3
16 BuildRequires:  libglade2-devel >= 2.0.0
17 BuildRequires:  libgnomeprintui-devel >= 1.116.0
18 BuildRequires:  libbonoboui-devel >= 2.0.1
19 BuildRequires:  glib2-devel >= 2.0.6
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      gedit-devel
22
23 %define         _prefix         /usr/X11R6
24 %define         _sysconfdir     /etc/X11/GNOME2
25 %define         _mandir         %{_prefix}/man
26 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
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 -n gedit-%{version}
43
44 %build
45 rm -f missing acinclude.m4
46 %{__libtoolize}
47 glib-gettextize --copy --force
48 aclocal 
49 %{__autoconf}
50 sed -e 's/-ourdir/ourdir/' xmldocs.make >xmldocs.make.tmp
51 mv xmldocs.make.tmp xmldocs.make
52 %{__automake}
53 %configure 
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         omf_dest_dir=%{_omf_dest_dir}/%{name} 
63
64
65 %find_lang %{name} --with-gnome --all-name
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 GCONF_CONFIG_SOURCE="" \
72 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
77 %{_sysconfdir}/gconf/schemas/*
78 %attr(755,root,root) %{_bindir}/*
79 %dir %{_libdir}/gedit-2
80 %dir %{_libdir}/gedit-2/plugins
81 %attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*
82 %{_pixmapsdir}/*
83 %{_datadir}/applications/*
84 %{_datadir}/gedit-2
85 %{_omf_dest_dir}/%{name}
This page took 0.033452 seconds and 4 git commands to generate.