]> git.pld-linux.org Git - packages/gedit0.git/blobdiff - gedit0.spec
- release 2.
[packages/gedit0.git] / gedit0.spec
index f1ebf43ae96215a3c67e98c649d869ddee9ebb83..a213089e3ec592c267beec2956f5edcea251b9cd 100644 (file)
@@ -1,76 +1,71 @@
-# Note that this is NOT a relocatable package
-%define ver      0.5.0
-%define rel      2
-%define prefix   /usr
-
-Summary:   gEdit 
-Name:      gedit
-Version:   %ver
-Release:   %rel
-Copyright: GPL
-Group:     Editors
-Source0:   gedit-%{PACKAGE_VERSION}.tar.gz
-URL:       http://gedit.pn.org
-BuildRoot: /tmp/gedit-%{PACKAGE_VERSION}-root
-Packager: Alex Roberts <bse@dial.pipex.com>
-Requires: gtk+ >= 1.0.7
-Requires: gnome-libs
-#Docdir: %{prefix}/doc
+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.7.9
+Release:       2
+License:       GPL
+Group:         X11/Applications/Editors
+Group(pl):     X11/Aplikacje/Edytory
+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: 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:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
-gEdit is a small but powerful text editor for GTK+ and/or GNOME.
-
-%package devel
-Summary: gEdit is a small but powerful text editor for GTK+ and/or GNOME.
-Group: Editors
+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
+dokumentów naraz i wiele innych.
 
-%description devel
-gEdit is a small but powerful text editor for GTK+ and/or GNOME.
 %prep
-%setup
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
-       --prefix=%{prefix} 
+gettextize --copy --force
+LDFLAGS="-s" ; export LDFLAGS
+%configure \
+       --disable-staic
 
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+%{__make} gtkrcdir=%{_datadir}/misc
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig}
-
-make prefix=$RPM_BUILD_ROOT%{prefix} install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-, root, root)
-
-%doc README COPYING ChangeLog NEWS TODO AUTHORS INSTALL THANKS
-%{prefix}/bin/gedit
-%{prefix}/share/locale/*/*/*
-%{prefix}/share/apps/*/*
-%{prefix}/share/pixmaps/*
-%{prefix}/share/mime-info/*
-%{prefix}/share/geditrc
-%{prefix}/man/*/*
-%{prefix}/libexec/*/*/*
 
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       sysdir=%{_applnkdir}/Office/Editors
 
-%files devel
-%defattr(-, root, root)
-%{prefix}/include/*/*
-%{prefix}/lib/*
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
+       FAQ README README.plugins ChangeLog TODO AUTHORS THANKS
 
-%changelog
+%find_lang %{name} --with-gnome
 
-* Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-- First try at an RPM
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/gedit
+%{_datadir}/pixmaps/*
+%{_datadir}/mime-info/*
+%{_applnkdir}/Office/Editors/gedit.desktop
+%{_mandir}/man1/*
This page took 0.077219 seconds and 4 git commands to generate.