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