]> git.pld-linux.org Git - packages/gedit0.git/blobdiff - gedit0.spec
- converted to UTF-8
[packages/gedit0.git] / gedit0.spec
index 2e6a8997ed55b8a5e1f82093ba1e51751436e2ea..c5f90c15b693510014ecef410fdecf1aa8ad8745 100644 (file)
@@ -1,34 +1,31 @@
 Summary:       gEdit - small but powerful text editor for X Window
-Summary(pl):   gEdit - ma³y ale potê¿ny edytor tekstu dla X Window
+Summary(pl.UTF-8):   gEdit - mały ale potężny edytor tekstu dla X Window
 Name:          gedit
-Version:       0.9.6
+Version:       0.9.7
 Release:       3
 Epoch:         1
 License:       GPL
 Group:         X11/Applications/Editors
-Group(de):     X11/Applikationen/Editors
-Group(pl):     X11/Aplikacje/Edytory
-Group(pt):     X11/Aplicações/Editores
-Source0:       http://ftp1.sourceforge.net/gedit/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.gnome.org/pub/GNOME/sources/gedit/0.9/%{name}-%{version}.tar.bz2
+# Source0-md5: ebef0c5e02fd3592350ff5b6fb9c6725
 URL:           http://gedit.sourceforge.net/
-Patch0:                %{name}-use_AM_GNU_GETTEXT.patch
-Patch1:                %{name}-gnome-config.patch
+Patch0:                %{name}-gnome-config.patch
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libtool
+BuildRequires: docbook-style-dsssl
 BuildRequires: gettext-devel
 BuildRequires: gnome-libs-devel > 1.0.55
 BuildRequires: gnome-print-devel >= 0.28
 BuildRequires: gnome-vfs >= 1.0
 BuildRequires: gtk+-devel >= 1.2.7
 BuildRequires: imlib-devel
-BuildRequires: libglade-devel >= 0.11
+BuildRequires: libglade-gnome-devel >= 0.11
+BuildRequires: libtool
 BuildRequires: zlib-devel
-Obsoletes:     gedit-devel
+BuildRequires: gnome-vfs-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     gedit-devel
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
 
 %description
 gEdit is a small but powerful text editor for GTK+ and/or GNOME. It
@@ -36,25 +33,26 @@ 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.
+%description -l pl.UTF-8
+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
-dokumentów naraz i wiele innych.
+który umożliwia rozszerzenie funkcji gEdita o dodatkowe możliwości,
+nie zwiększając rozmiarów samego programu, możliwość edycji wielu
+dokumentów naraz i wiele innych.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-rm -f acinclude.m4
 
 %build
-libtoolize --copy --force
-gettextize --copy --force
-aclocal -I macros
-autoconf
-automake -a -c
+sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
+mv -f configure.in.tmp configure.in
+rm -f missing acinclude.m4
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
 %configure \
        --disable-static
 
@@ -65,9 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       sysdir=%{_applnkdir}/Office/Editors
-
-gzip -9nf FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
+       sysdir=%{_applnkdir}/Editors
 
 %find_lang %{name} --with-gnome
 
@@ -76,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
 %attr(755,root,root) %{_bindir}/gedit
 %dir %{_libdir}/gedit
 %dir %{_libdir}/gedit/plugins
@@ -85,5 +81,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_pixmapsdir}/*
 %{_datadir}/gedit
 %{_datadir}/mime-info/*
-%{_applnkdir}/Office/Editors/gedit.desktop
+%{_applnkdir}/Editors/gedit.desktop
 %{_mandir}/man1/*
This page took 0.077968 seconds and 4 git commands to generate.