]> git.pld-linux.org Git - packages/gedit0.git/commitdiff
- updated to 0.5.1,
authorpius <pius@pld-linux.org>
Tue, 27 Apr 1999 09:41:52 +0000 (09:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cleaned up spec file for PLD use,
- fixed Summary, Group and %description fields,
- added pl translation,
- added -q setup parameter,
- changed prefix to /usr/X11R6,
- added full %defattr description,
- added using DESTDIR during install,
- added some BuildPrereqs.

STATUS: NFY

Changed files:
    gedit0.spec -> 1.2

gedit0.spec

index f1ebf43ae96215a3c67e98c649d869ddee9ebb83..2a5179aabf86a9e342eee5b9511ba0fe531aeedc 100644 (file)
@@ -1,76 +1,86 @@
-# 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.
+Summary(pl):   gEdit - ma³y ale potê¿ny edytor tekstu.
+Name:          gedit
+Version:       0.5.1
+Release:       3
+Copyright:     GPL
+Group:         X11/Editors
+Source0:       %{name}-%{version}.tar.gz
+URL:           http://gedit.pn.org
+BuildPrereq:   gtk+-devel >= 1.0.7
+BuildPrereq:   glib-devel >= 1.0.7
+#Requires:     gnome-libs
+BuildRoot:      /tmp/%{name}-%{version}-root
 
 %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 
+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.
 
 %package devel
-Summary: gEdit is a small but powerful text editor for GTK+ and/or GNOME.
-Group: Editors
+Summary:       Develop plugins for the gEdit editor.
+Summary(pl):   Biblioteki umo¿liwiaj±ce pisanie pluginów do gEdit.
+Group:                 Development/Libraries
+Group(pl):     Programowanie/Biblioteki
 
 %description devel
 gEdit is a small but powerful text editor for GTK+ and/or GNOME.
+This package allows you to develop plugins that work within
+gEdit.  Plugins can create new documents and manipulate documents
+in arbitrary ways.
+
+%description devel -l pl
+gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME.
+Ten pakiet zawiera biblioteki umo¿liwiaj±ce pisanie "wtyczek" dla gEdita.
+"Wtyczki" mog± tworzyæ nowe dokumenty i manipulowaæ nimi na wiele róznych
+sposobów.
  
 %prep
-%setup
+%setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
-       --prefix=%{prefix} 
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+./configure \
+       --prefix=/usr/X11R6 
 
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+make
 
 %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
+make DESTDIR=$RPM_BUILD_ROOT install
+
+gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man1/* \
+       README ChangeLog NEWS TODO AUTHORS THANKS
 
 %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/*/*/*
+%defattr(644,root,root,755)
+%doc {README,ChangeLog,NEWS,TODO,AUTHORS,THANKS}.gz
+%attr(755,root,root) /usr/X11R6/bin/gedit
+/usr/X11R6/share/locale/*/*/*
+/usr/X11R6/share/gnome/apps/*/*
+/usr/X11R6/share/pixmaps/*
+/usr/X11R6/share/mime-info/*
+/usr/X11R6/share/geditrc
+/usr/X11R6/man/man1/*
+/usr/X11R6/libexec/*/*/*
 
 
 %files devel
-%defattr(-, root, root)
-%{prefix}/include/*/*
-%{prefix}/lib/*
-
-%changelog
+%defattr(644,root,root,755)
+/usr/X11R6/include/*/*
+/usr/X11R6/lib/*
 
 * Thu Oct 22 1998 Alex Roberts <bse@dial.pipex.com>
-
 - First try at an RPM
This page took 0.094377 seconds and 4 git commands to generate.