From 3c4784c7c2d442ca0fc83bb348a69536e3efee42 Mon Sep 17 00:00:00 2001 From: "Adam M. Dutko" Date: Tue, 3 Jul 2007 01:50:33 +0000 Subject: [PATCH] Initial import into the devel branch. --- .cvsignore | 1 + mrxvt.desktop | 9 +++++ mrxvt.spec | 99 ++++++++++++++++++++++++++++++++++++++++++++++++ no_debug_x.patch | 13 +++++++ sources | 1 + 5 files changed, 123 insertions(+) create mode 100644 mrxvt.desktop create mode 100644 mrxvt.spec create mode 100644 no_debug_x.patch diff --git a/.cvsignore b/.cvsignore index e69de29..cb997c2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mrxvt-0.5.2.tar.gz diff --git a/mrxvt.desktop b/mrxvt.desktop new file mode 100644 index 0000000..6261c65 --- /dev/null +++ b/mrxvt.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=mrxvt +GenericName=Terminal Emulator +Comment=none +Icon=mrxvt.png +Exec=/usr/bin/mrxvt +Categories=System;Emulator; diff --git a/mrxvt.spec b/mrxvt.spec new file mode 100644 index 0000000..8c5c4ab --- /dev/null +++ b/mrxvt.spec @@ -0,0 +1,99 @@ +Summary: A lightweight multi-tabbed terminal emulator for X +Name: mrxvt +Version: 0.5.2 +Release: 9%{?dist} +URL: http://materm.sourceforge.net/wiki/Main/HomePage +License: GPL +Group: User Interface/X +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: imake pkgconfig ncurses-devel libXft-devel libXaw-devel libXext-devel desktop-file-utils +BuildRequires: libpng-devel libjpeg-devel libutempter-devel + +Source0: http://downloads.sourceforge.net/materm/%{name}-%{version}.tar.gz +Source1: http://littlehat.homelinux.org:8000/FEDORA/mrxvt/current/0.5.2/%{name}.desktop + +Patch1: http://downloads.sourceforge.net/materm/no_debug_x.patch + +%description +Mrxvt (previously materm) is based on 2.7.11 CVS of rxvt and aterm. + +%prep +%setup -q +%patch1 -p0 -b .no_debug_x +sed -i 's|\r||' share/scripts/mrxvt.vbs + +%build +%configure \ + --enable-everything \ + --disable-debug + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" install + +desktop-file-install --vendor=fedora \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + %{SOURCE1} + +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc doc/README* doc/*.txt* +%doc share/scripts/ +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/mrxvt +%{_mandir}/man1/mrxvt.1* +%dir %{_sysconfdir}/%{name} +%config(noreplace) %{_sysconfdir}/mrxvt/default.menu +%config(noreplace) %{_sysconfdir}/mrxvt/mrxvtrc +%config(noreplace) %{_sysconfdir}/mrxvt/mrxvtrc.sample +%config(noreplace) %{_sysconfdir}/mrxvt/submenus.menu +%{_datadir}/applications/fedora-mrxvt.desktop +%{_datadir}/pixmaps/%{name}* + +%changelog +* Mon Jun 18 2007 Adam M. Dutko - 0.5.2-9 +- Removed extraneous build comments. +- Modified "end-of-line" fix to fit one line after patch1. +- Fixed comment for 0.5.2-6 + +* Mon Jun 18 2007 Mamoru Tasaka - 0.5.2-8 +- Clean up %%prep stage + +* Sat Jun 16 2007 Adam M. Dutko - 0.5.2-7 +- Removed Version entry from desktop file. + +* Sun Jun 10 2007 Adam M. Dutko - 0.5.2-6 +- Fixed "end-of-line" encoding error with sed replacement +- Fixed release tag + +* Mon Jun 4 2007 Adam M. Dutko - 0.5.2-5 +- Remove all files under datadir/doc/name +- Add proper document link +- Remove INSTALL file +- Timestamp unmodified text/images + +* Mon Jun 4 2007 Adam M. Dutko - 0.5.2-4 +- Updated spec file per suggestions in bug #: 223422 +- Fixed changelog +- Fixed sourceURL per sf.net rules +- Added parallel make +- Removed root owernship of executable +- Added directory ownership +- Removed unnecesary macros +- Added noreplace + +* Sun Jun 3 2007 Adam M. Dutko - 0.5.2-3 +- Implemented review guidelines + +* Thu May 31 2007 Adam M. Dutko - 0.5.2-2 +- Implemented naming guidelines + +* Tue Jan 16 2007 Adam M. Dutko - 0.5.2-1 +- Added X patch diff --git a/no_debug_x.patch b/no_debug_x.patch new file mode 100644 index 0000000..ca2f978 --- /dev/null +++ b/no_debug_x.patch @@ -0,0 +1,13 @@ +Index: src/init.c +=================================================================== +--- src/init.c (revision 195) ++++ src/init.c (working copy) +@@ -41,7 +41,7 @@ + # define DEBUG_X + #else + # define DEBUG_LEVEL 0 +-# define DEBUG_X ++# undef DEBUG_X + #endif + + #if DEBUG_LEVEL diff --git a/sources b/sources index e69de29..cbd25a9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +43969e90950e5ff8c8454fddda0a5d8d mrxvt-0.5.2.tar.gz