]> git.pld-linux.org Git - packages/GXedit.git/blobdiff - GXedit.spec
- removed two lines with define
[packages/GXedit.git] / GXedit.spec
index 4d80d6b21159c871718ca4afb608cb8e9b623d18..7b2bc08615a86e06cddf6f956d8fbfe2e7080e07 100644 (file)
@@ -4,23 +4,19 @@ Summary(pl):  Wielofunkcyjny edytor tekstu wykorzystuj
 Summary(pt):   Editor de textos multifunção que usa o GTK+
 Name:          GXedit
 Version:       1.23
-Release:       8
-Group:         X11/Applications/Editors
-Group(es):     X11/Aplicaciones/Editores
-Group(pl):     X11/Aplikacje/Edytory
-Group(pt):     X11/Aplicações/Editores
+Release:       11
 License:       GPL
-Source0:       http://users.linuxbox.com/~drow/GXedit/%{name}%{version}.tar.gz
-Source1:       GXedit.desktop
-Patch0:                GXedit-config.patch
-Patch1:                GXedit-makefile.patch
-Patch2:                GXedit-nobash.patch
-URL:           http://www.linuxbox.com/~drow/GXedit/
+Group:         X11/Applications/Editors
+# working: ftp://ibiblio.org/pub/Linux/apps/editors/X/%{name}-%{version}.tar.gz
+Source0:       %{name}%{version}.tar.gz
+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
-%define                _mandir         %{_prefix}/man
 
 %description
 Here is a fast, easy-to-use editor which is both network oriented and
@@ -49,35 +45,33 @@ utiliza o GTK+.
 %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},%{_applnkdir}/Office/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%{_applnkdir}/Office/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}/*
 
-%{_applnkdir}/Office/Editors/GXedit.desktop
+%{_applnkdir}/Editors/GXedit.desktop
 %{_datadir}/GXedit
This page took 0.060034 seconds and 4 git commands to generate.