|
|
9749a67 |
%define desktop_file 1
|
|
|
9749a67 |
%if %{desktop_file}
|
|
|
9749a67 |
%define desktop_file_utils_version 0.2.93
|
|
|
9749a67 |
%endif
|
|
|
9749a67 |
Summary: A GUI text editor for systems with X and Motif.
|
|
|
9749a67 |
Name: nedit
|
|
|
9749a67 |
Version: 5.5
|
|
|
dab5638 |
Release: 5
|
|
|
9749a67 |
Source: http://nedit.org/ftp/v5_5/nedit-%{version}-src.tar.bz2
|
|
|
9749a67 |
Source1: nedit.desktop
|
|
|
9749a67 |
Source2: nedit-icon.png
|
|
|
9749a67 |
Patch0: nedit-5.4-security.patch
|
|
|
9749a67 |
Patch1: nedit-5.4-makefiles.patch
|
|
|
9749a67 |
Patch2: nedit-5.5-utf8.patch
|
|
|
9749a67 |
Patch3: nedit-5.5-motif223.patch
|
|
|
9749a67 |
Patch4: nedit-5.5-varfix.patch
|
|
|
dab5638 |
Patch5: nedit-5.5-nc-manfix.patch
|
|
|
9749a67 |
URL: http://nedit.org
|
|
|
dab5638 |
License: GPL
|
|
|
9749a67 |
Group: Applications/Editors
|
|
|
9749a67 |
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
9749a67 |
BuildRequires: openmotif-devel >= 2.2.3
|
|
|
9749a67 |
%if %{desktop_file}
|
|
|
9749a67 |
BuildPrereq: desktop-file-utils >= %{desktop_file_utils_version}
|
|
|
9749a67 |
%endif
|
|
|
9749a67 |
|
|
|
9749a67 |
%description
|
|
|
9749a67 |
NEdit is a GUI text editor for the X Window System and Motif. NEdit is
|
|
|
9749a67 |
very easy to use, especially if you are familiar with the
|
|
|
9749a67 |
Macintosh(TM) or Microsoft(TM) Windows(TM) style of interface.
|
|
|
9749a67 |
|
|
|
9749a67 |
%prep
|
|
|
9749a67 |
%setup -q
|
|
|
9749a67 |
%patch0 -p1 -b .security
|
|
|
9749a67 |
%patch1 -p1 -b .makefiles
|
|
|
9749a67 |
%patch2 -p1 -b .utf8
|
|
|
9749a67 |
%patch3 -p1 -b .motif223
|
|
|
9749a67 |
%patch4 -p1 -b .varfix
|
|
|
dab5638 |
%patch5 -p1 -b .nc-manfix
|
|
|
9749a67 |
|
|
|
9749a67 |
%build
|
|
|
9749a67 |
make linux LIB=%{_lib}
|
|
|
9749a67 |
|
|
|
9749a67 |
%install
|
|
|
9749a67 |
rm -rf $RPM_BUILD_ROOT
|
|
|
9749a67 |
|
|
|
dab5638 |
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
|
|
dab5638 |
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
dab5638 |
mv source/nc source/nedit-client
|
|
|
dab5638 |
install -s -m 755 source/nedit source/nedit-client $RPM_BUILD_ROOT%{_bindir}
|
|
|
dab5638 |
install -m 644 doc/nedit.man $RPM_BUILD_ROOT%{_mandir}/man1/nedit.1x
|
|
|
dab5638 |
mv doc/nc.man doc/nedit-client.man
|
|
|
dab5638 |
install -m 644 doc/nedit-client.man $RPM_BUILD_ROOT%{_mandir}/man1/nedit-client.1x
|
|
|
9749a67 |
|
|
|
9749a67 |
mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications
|
|
|
9749a67 |
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Applications
|
|
|
9749a67 |
%if %{desktop_file}
|
|
|
9749a67 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
9749a67 |
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
9749a67 |
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/applications
|
|
|
9749a67 |
desktop-file-install --vendor fedora --delete-original \
|
|
|
9749a67 |
--dir $RPM_BUILD_ROOT%{_prefix}/share/applications \
|
|
|
9749a67 |
--add-category "Application;Development;X-Fedora" \
|
|
|
9749a67 |
$RPM_BUILD_ROOT/etc/X11/applnk/Applications/nedit.desktop
|
|
|
9749a67 |
%endif
|
|
|
9749a67 |
|
|
|
9749a67 |
%clean
|
|
|
9749a67 |
rm -rf $RPM_BUILD_ROOT
|
|
|
9749a67 |
|
|
|
9749a67 |
%files
|
|
|
9749a67 |
%defattr(-,root,root)
|
|
|
9749a67 |
%doc doc/nedit.doc README ReleaseNotes
|
|
|
dab5638 |
%{_mandir}/*/*
|
|
|
dab5638 |
%{_bindir}/*
|
|
|
9749a67 |
%if %{desktop_file}
|
|
|
9749a67 |
%{_prefix}/share/applications/*
|
|
|
9749a67 |
%{_datadir}/pixmaps/nedit-icon.png
|
|
|
9749a67 |
%else
|
|
|
9749a67 |
%config /etc/X11/applnk/Applications/nedit.desktop
|
|
|
9749a67 |
%endif
|
|
|
9749a67 |
|
|
|
9749a67 |
%changelog
|
|
|
dab5638 |
* Mon Oct 10 2005 Jindrich Novy <jnovy@redhat.com> 5.5-5
|
|
|
dab5638 |
- update nedit file locations to new xorg standards (#167208, #170937)
|
|
|
dab5638 |
- rename nc to nedit-client to avoid conflict with netcat and
|
|
|
dab5638 |
modify its manpage to reflect this
|
|
|
dab5638 |
- fix License to GPL
|
|
|
dab5638 |
|
|
|
fc05d46 |
* Wed Jul 27 2005 Jindrich Novy <jnovy@redhat.com> 5.5-4
|
|
|
fc05d46 |
- initial Extras built
|
|
|
fc05d46 |
|
|
|
9749a67 |
* Mon Jan 20 2005 Jindrich Novy <jnovy@redhat.com> 5.5-3
|
|
|
9749a67 |
- prepare the spec and desktop file for Extras inclusion
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Jan 12 2005 Jindrich Novy <jnovy@redhat.com> 5.5-2
|
|
|
9749a67 |
- fix usage of uninitialized variable (#144790)
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Dec 27 2004 Jindrich Novy <jnovy@redhat.com> 5.5-1
|
|
|
9749a67 |
- new version 5.5
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Sep 20 2004 Jindrich Novy <jnovy@redhat.com>
|
|
|
9749a67 |
- added nedit icon to be present in menus #131601
|
|
|
9749a67 |
- updated spec to put it to the right place
|
|
|
9749a67 |
- icon made by Joor Loohuis (joor@users.sourceforge.net)
|
|
|
9749a67 |
- the icon processed by Peter Vrabec (pvrabec@usu.cz)
|
|
|
9749a67 |
|
|
|
9749a67 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Mar 17 2004 Thomas Woerner <twoerner@redhat.com> 5.4-1
|
|
|
9749a67 |
- new version 5.4
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Dec 5 2003 Tim Waugh <twaugh@redhat.com>
|
|
|
9749a67 |
- Don't explicitly require openmotif, since rpm does library dependencies
|
|
|
9749a67 |
automatically.
|
|
|
9749a67 |
- Binary package doesn't require desktop-file-install.
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Dec 5 2003 Tim Waugh <twaugh@redhat.com> 5.3-6
|
|
|
9749a67 |
- Add ugly hack to work around openmotif's lack of UTF-8 support (bug #75189).
|
|
|
9749a67 |
- Back-port 5.4RC2 fix for uninitialized variable (bug #110898).
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Nov 8 2002 Tim Waugh <twaugh@redhat.com> 5.3-3
|
|
|
9749a67 |
- Handle X11 libdir issue.
|
|
|
9749a67 |
|
|
|
9749a67 |
* Tue Oct 22 2002 Tim Waugh <twaugh@redhat.com> 5.3-2
|
|
|
9749a67 |
- Remove original desktop file when installing.
|
|
|
9749a67 |
- Fix desktop file icon (bug #61677).
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Jul 24 2002 Karsten Hopp <karsten@redhat.de>
|
|
|
9749a67 |
- 5.3
|
|
|
9749a67 |
- use desktop-file-utils (#69461)
|
|
|
9749a67 |
- redo all patches
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- automated rebuild
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- automated rebuild
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Mar 22 2002 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- rebuilt against openmotif-2.2.2
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Mar 1 2002 Than Ngo <than@redhat.com> 1.2-1
|
|
|
9749a67 |
- update to 1.2
|
|
|
9749a67 |
- cleanup patch files
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu Jan 17 2002 Than Ngo <than@redhat.com> 5.1.1-13
|
|
|
9749a67 |
- rebuild against openmotif
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- automated rebuild
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu Oct 25 2001 Bill Nottingham <notting@redhat.com>
|
|
|
9749a67 |
- 0 != NULL. lather, rinse, repeat. (#54943)
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Aug 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
9749a67 |
- Fix crash while printing (#45149)
|
|
|
9749a67 |
I still think removing the package would be the better fix, though.
|
|
|
9749a67 |
|
|
|
9749a67 |
* Sun Jun 10 2001 Than Ngo <than@redhat.com>
|
|
|
9749a67 |
- requires lesstif-devel
|
|
|
9749a67 |
|
|
|
9749a67 |
* Tue May 22 2001 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- patched to use lesstif
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
9749a67 |
- Fix security bug, use mkstemp()
|
|
|
9749a67 |
|
|
|
9749a67 |
* Fri Oct 13 2000 Preston Brown <pbrown@redhat.com>
|
|
|
9749a67 |
- .desktop file added
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- rebuilt
|
|
|
9749a67 |
|
|
|
9749a67 |
* Sat Jun 17 2000 Than Ngo <than@redhat.de>
|
|
|
9749a67 |
- rebuilt against openmotif-2.1.30
|
|
|
9749a67 |
- use PRM macros
|
|
|
9749a67 |
|
|
|
9749a67 |
* Tue May 16 2000 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- updated to 5.1.1
|
|
|
9749a67 |
- updated URL and source location
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Aug 18 1999 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- excludearch alpha
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Jul 19 1999 Tim Powers <timp@redhat.com>
|
|
|
9749a67 |
- rebuilt for 6.1
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu Apr 15 1999 Michael Maher <mike@redhat.com>
|
|
|
9749a67 |
- built package for 6.0
|
|
|
9749a67 |
|
|
|
9749a67 |
* Wed Oct 14 1998 Michael Maher <mike@redhat.com>
|
|
|
9749a67 |
- built package for 5.2
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu May 21 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
9749a67 |
- upgraded to 5.0.2
|
|
|
9749a67 |
|
|
|
9749a67 |
* Thu Nov 20 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
9749a67 |
- added wmconfig
|
|
|
9749a67 |
|
|
|
9749a67 |
* Mon Nov 17 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
9749a67 |
- added changelog
|
|
|
9749a67 |
- fixed src url
|
|
|
9749a67 |
- added URL tag
|