]> git.pld-linux.org Git - packages/GXedit.git/blobdiff - GXedit.spec
- removed two lines with define
[packages/GXedit.git] / GXedit.spec
index 05b7f3ac85da5b62fad668123d2eecc11286cb4b..7b2bc08615a86e06cddf6f956d8fbfe2e7080e07 100644 (file)
@@ -4,21 +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:       10
+Release:       11
 License:       GPL
 Group:         X11/Applications/Editors
-Source0:       http://users.linuxbox.com/~drow/GXedit/%{name}%{version}.tar.gz
+# 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
-URL:           http://www.linuxbox.com/~drow/GXedit/
 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
@@ -57,26 +55,23 @@ mv -f gxedit.c.new gxedit.c
 
 %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 \
        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.069694 seconds and 4 git commands to generate.