]> git.pld-linux.org Git - packages/gedit0.git/blobdiff - gedit0.spec
- updated to 0.9.1.
[packages/gedit0.git] / gedit0.spec
index 568d63493bb9bbd5b520f146db71ef9eba28d495..f70c4d738694204f2cc3ab2c71c526d050363520 100644 (file)
@@ -1,65 +1,63 @@
 Summary:       gEdit - small but powerful text editor for X Window
 Summary(pl):   gEdit - ma³y ale potê¿ny edytor tekstu dla X Window
 Name:          gedit
-Version:       0.6.0
+Version:       0.9.1
 Release:       1
-Copyright:     GPL
+License:       GPL
 Group:         X11/Applications/Editors
+Group(de):     X11/Applikationen/Editors
 Group(pl):     X11/Aplikacje/Edytory
-Source:                http://gedit.pn.org/%{name}-%{version}.tar.gz
-Patch0:                gedit-desktop.patch
-Patch1:                gedit-makefile.patch
-URL:           http://gedit.pn.org/
-BuildRequires: gtk+-devel >= 1.2.0
-BuildRequires: glib-devel >= 1.2.0
+Group(pt):     X11/Aplicações/Editores
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/gedit/%{name}-%{version}.tar.gz
+URL:           http://gedit.sourceforge.net/
+BuildRequires: gtk+-devel >= 1.2.7
 BuildRequires: imlib-devel
 BuildRequires: zlib-devel
-BuildRequires: XFree86-devel
-BuildRequires: gnome-libs-devel
-Requires:      go-plugins
+BuildRequires: gnome-libs-devel > 1.0.55
+BuildRequires: gnome-print-devel >= 0.18
+BuildRequires: libglade-devel >= 0.11
+BuildRequires: gettext-devel
+Requires:      go-plugins
 Obsoletes:     gedit-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
 %define                _mandir         %{_prefix}/man
-%define                _applnkdir      %{_datadir}/applnk
 
 %description
-gEdit is a small but powerful text editor for GTK+ and/or GNOME.
-It includes such features as split-screen mode, a plugin API, which 
-allows gEdit to be extended to support many features while remaining 
+gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
+includes such features as split-screen mode, a plugin API, which
+allows gEdit to be extended to support many features while remaining
 small at its core, multiple document editing and many more functions.
 
 %description -l pl
 gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
 Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
 który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci,
-nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu 
+nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu
 dokumentów naraz i wiele innych.
 
 %prep
 %setup -q
-%patch0 -p0
-%patch1 -p0
 
 %build
-automake
 gettextize --copy --force
-LDFLAGS="-s" ; export LDFLAGS
-%configure 
+%configure \
+       --disable-static
 
-make
+%{__make} gtkrcdir=%{_datadir}/misc
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install-strip DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       sysdir=%{_applnkdir}/Office/Editors
 
 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       FAQ README README.plugins ChangeLog TODO AUTHORS THANKS KNOWNBUGS \
-       TODO-road_to_1.0.0
+       FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,14 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc *.gz
 %attr(755,root,root) %{_bindir}/gedit
-
-%{_applnkdir}/Editors/gedit.desktop
-
-%dir %{_datadir}/gnome/help/gedit
-%{_datadir}/gnome/help/gedit/C
-%lang(no) %{_datadir}/gnome/help/gedit/no
-
 %{_datadir}/pixmaps/*
 %{_datadir}/mime-info/*
-%{_datadir}/misc/geditrc
+%{_applnkdir}/Office/Editors/gedit.desktop
 %{_mandir}/man1/*
This page took 0.082187 seconds and 4 git commands to generate.