]> git.pld-linux.org Git - packages/gedit.git/blob - gedit.spec
- updated to version 2.0.3
[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.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Source0:        http://ftp.gnome.org/pub/GNOME/2.0.1/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 BuildRequires:  scrollkeeper >= 0.3.11
21 Requires(post,postun):  scrollkeeper
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Obsoletes:      gedit-devel
24
25 %define         _prefix         /usr/X11R6
26 %define         _sysconfdir     /etc/X11/GNOME2
27 %define         _mandir         %{_prefix}/man
28 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
29
30 %description
31 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
32 includes such features as split-screen mode, a plugin API, which
33 allows gEdit to be extended to support many features while remaining
34 small at its core, multiple document editing and many more functions.
35
36 %description -l pl
37 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
38 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
39 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
40 nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
41 dokumentów naraz i wiele innych.
42
43 %prep
44 %setup -q -n gedit-%{version}
45
46 %build
47 rm -f missing acinclude.m4
48 %{__libtoolize}
49 glib-gettextize --copy --force
50 aclocal 
51 %{__autoconf}
52 sed -e 's/-ourdir/ourdir/' xmldocs.make >xmldocs.make.tmp
53 mv xmldocs.make.tmp xmldocs.make
54 %{__automake}
55 %configure 
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         omf_dest_dir=%{_omf_dest_dir}/%{name} 
65
66
67 %find_lang %{name} --with-gnome --all-name
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 scrollkeeper-update
74 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" \
75 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
76
77 %postun
78 scrollkeeper-update
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc README ChangeLog TODO AUTHORS THANKS
83 %{_sysconfdir}/gconf/schemas/*
84 %attr(755,root,root) %{_bindir}/*
85 %dir %{_libdir}/gedit-2
86 %dir %{_libdir}/gedit-2/plugins
87 %attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*
88 %{_libdir}/bonobo/servers/*
89 %{_pixmapsdir}/*
90 %{_datadir}/applications/*
91 %{_datadir}/gedit-2
92 %{_datadir}/mime-info/*
93 %{_datadir}/idl/*
94 %{_omf_dest_dir}/%{name}
95 %{_mandir}/man1/*.gz
This page took 0.039878 seconds and 4 git commands to generate.