]> git.pld-linux.org Git - packages/GXedit.git/blobdiff - GXedit.spec
- removed two lines with define
[packages/GXedit.git] / GXedit.spec
index bd653fab135b0da60947925499ef91bc7a839a47..7b2bc08615a86e06cddf6f956d8fbfe2e7080e07 100644 (file)
@@ -1,99 +1,77 @@
-Summary:       A multi-function text editor using GTK+
+Summary:       A multi-function text editor using GTK+
+Summary(es):   Editor de textos multifunciones que usa GTK+
 Summary(pl):   Wielofunkcyjny edytor tekstu wykorzystuj±cy GTK+
+Summary(pt):   Editor de textos multifunção que usa o GTK+
 Name:          GXedit
 Version:       1.23
-Release:       5
+Release:       11
+License:       GPL
 Group:         X11/Applications/Editors
-Group(pl):     X11/Aplikacje/Edytory
-Copyright:     Freely distributable
-URL:           http://devplanet.fastethernet.net/gxedit.html
+# working: ftp://ibiblio.org/pub/Linux/apps/editors/X/%{name}-%{version}.tar.gz
 Source0:       %{name}%{version}.tar.gz
-Source1:       GXedit.desktop
-Patch0:                GXedit-config.patch
-Patch1:        GXedit-makefile.patch
-BuildPrereq:   gtk+-devel >= 1.2.0
-BuildPrereq:   glib-devel >= 1.2.0
-BuildPrereq:   XFree86-devel
-Buildroot:     /tmp/%{name}-%{version}-root
+Source1:       %{name}.desktop
+Patch0:                %{name}-config.patch
+Patch1:                %{name}-makefile.patch
+Patch2:                %{name}-nobash.patch
+Patch3:                %{name}-time.patch
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _prefix         /usr/X11R6
 
 %description
-Here is a fast, easy-to-use editor which is both network-
-oriented and very secure. GXedit is a graphical text editor
-which features a toolbar, network bar and tooltips, spell
-checking, inline help, the ability to send text as e-mail, 
-macros and more. GXedit was designed to balance these and
-many other features without becoming too bloated.
+Here is a fast, easy-to-use editor which is both network oriented and
+very secure. GXedit is a graphical text editor which features a
+toolbar, network bar and tooltips, spell checking, inline help, the
+ability to send text as e-mail, macros and more. GXedit was designed
+to balance these and many other features without becoming too bloated.
+
+%description -l es
+Editor de textos multifunciones que usa GTK+.
 
 %description -l pl
-Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w sieci,
-a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem tekstu, 
-który dostarcza takie funkcje jak pasek narzêdziowy, sprawdzanie pisowni, 
-mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i wiele innych.
-GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i wielu innych funkcji 
-nie wp³ywa³a zbytnio na objêto¶æ samego programu.
+Oto szybki, ³atwy w obs³udze edytor, który jest nastawiony na pracê w
+sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
+tekstu, który dostarcza takich funkcji jak pasek narzêdzi, sprawdzanie
+pisowni, mo¿liwo¶æ wysy³ania tekstu poczt± elektroniczn±, makra i
+wiele innych. GXedit zosta³ zaprojektowany tak, aby obecno¶æ tych i
+wielu innych funkcji nie wp³ywa³a zbytnio na objêto¶æ samego programu.
+
+%description -l pt_BR
+O GXedit é um editor de textos gráficos com múltiplas funções que
+utiliza o GTK+.
 
 %prep
 %setup -n %{name}%{version} -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 sed s^/usr/doc/GXedit/^%{_defaultdocdir}/%{name}-%{version}/^g gxedit.c > gxedit.c.new
 mv -f gxedit.c.new gxedit.c
 
-make OPTFLAGS="$RPM_OPT_FLAGS -Wall" gxe
+%{__make} OPTFLAGS="%{rpmcflags} -Wall" gxe
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},/etc/applnk/Editors}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_applnkdir}/Editors}
 
-make install \
+%{__make} install \
        SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
        INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/applnk/Editors
-
-gzip -9nf docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps \
-       README CHANGELOG docs/DEPENDENCIES
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors
 
 %clean
 rm -r $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {docs/manual.txt,docs/manual.ps,docs/quickref.txt,docs/quickref.ps}.gz
-%doc {README,CHANGELOG,docs/DEPENDENCIES}.gz example.gxeditrc
+%doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps
+%doc README CHANGELOG docs/DEPENDENCIES example.gxeditrc
 
 %attr(755,root,root) %{_bindir}/*
 
-/etc/applnk/Editors/GXedit.desktop
+%{_applnkdir}/Editors/GXedit.desktop
 %{_datadir}/GXedit
-
-%changelog
-* Mon May 17 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [1.23-4]
-- added using more rpm macros,
-- package is now FHS 2.0 compliant.
-
-* Tue Apr 27 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [1.23-3]
-- cleaned up sepec file for PLD use,
-- added pl translation,
-- added new GXedit.desktop file with translation modified for es fr no pl pt,
-- added GXedit-config.patch instead of gxedit-config.h,
-- added new GXedit-makefile.patch,
-- recompiled on rpm 3.
-
-* Thu Apr 01 1999 Michael Fulbright <drmike@redhat.com>
-- version 1.23
-
-* Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
-- strip binaries
-
-* Sun Mar 06 1999 Michael Fulbright <drmike@redhat.com>
-- version 1.22
-
-* Wed Jan 27 1998 Michael Fulbright <drmike@redhat.com>
-- first attempt at spec file
This page took 0.275796 seconds and 4 git commands to generate.