Initial import into the devel branch.

This commit is contained in:
Adam M. Dutko 2007-07-03 01:50:33 +00:00
parent 34f8b816e8
commit 3c4784c7c2
5 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1 @@
mrxvt-0.5.2.tar.gz

9
mrxvt.desktop Normal file
View File

@ -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;

99
mrxvt.spec Normal file
View File

@ -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 <gnome at dux-linux org> - 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 <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.5.2-8
- Clean up %%prep stage
* Sat Jun 16 2007 Adam M. Dutko <gnome at dux-linux org> - 0.5.2-7
- Removed Version entry from desktop file.
* Sun Jun 10 2007 Adam M. Dutko <gnome at dux-linux org> - 0.5.2-6
- Fixed "end-of-line" encoding error with sed replacement
- Fixed release tag
* Mon Jun 4 2007 Adam M. Dutko <gnome at dux-linux org> - 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 <gnome at dux-linux org> - 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 <gnome at dux-linux org> - 0.5.2-3
- Implemented review guidelines
* Thu May 31 2007 Adam M. Dutko <gnome at dux-linux org> - 0.5.2-2
- Implemented naming guidelines
* Tue Jan 16 2007 Adam M. Dutko <gnome at dux-linux org> - 0.5.2-1
- Added X patch

13
no_debug_x.patch Normal file
View File

@ -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

View File

@ -0,0 +1 @@
43969e90950e5ff8c8454fddda0a5d8d mrxvt-0.5.2.tar.gz