Author: solarflow99
Update of /cvs/free/rpms/dosemu/F-10
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26904/F-10
Modified Files:
.cvsignore sources
Added Files:
dosemu.desktop dosemu.spec
Log Message:
--- NEW FILE dosemu.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=DOSEMU
GenericName=DOS emulator
Comment=A DOS Emulator for linux
Exec=dosemu
Icon=dosemu
Terminal=false
Type=Application
Categories=System;Emulator;
--- NEW FILE dosemu.spec ---
Name: dosemu
Version: 1.4.0
Release: 3.1905svn
Summary: DOS Emulator for Linux
URL:
http://dosemu.sf.net
License: GPLv2+
# For a breakdown of the licensing, see COPYING.DOSEMU
#
# FreeDOS is included as a boot image. Source code is available at:
#
http://www.freedos.org/freedos/source/
#
# License info is explained here:
#
http://apps.sourceforge.net/mediawiki/freedos/index.php?title=Main_Page#L...
# Got latest revision from SVN:
# svn co
https://dosemu.svn.sourceforge.net/svnroot/dosemu/trunk dosemu-1.4.0
# tar --exclude .svn -czvf dosemu-1.4.0.tgz dosemu-1.4.0
Source: %{name}-%{version}.tgz
# Made a FreeDOS bootable image, must be done manually.
Source1: %{name}-freedos-bin.tgz
Source2: %{name}.desktop
Source3: freedos-source.tar.gz
Group: Applications/Emulator
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: bison
BuildRequires: flex
BuildRequires: slang-devel
BuildRequires: libX11-devel
BuildRequires: libXxf86vm-devel
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
BuildRequires: libsndfile
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
DOSEMU is a PC Emulator that allows Linux to run a DOS operating system
in a virtual x86 machine. This allows you to run all kinds of different
DOS programs including DPMI applications. Enjoy running your DOS
programs forever!
%prep
%setup -q
%build
%configure --with-fdtarball=%{SOURCE1}
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
make DESTDIR=$RPM_BUILD_ROOT install
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE2}
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
install -p -m 0644 etc/dosemu.xpm ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
# Correct some file permissions
chmod 755 $RPM_BUILD_ROOT%{_datadir}/dosemu \
$RPM_BUILD_ROOT%{_datadir}/dosemu/drive_z \
$RPM_BUILD_ROOT%{_datadir}/dosemu/drive_z/doc/exe2bin
chmod +x $RPM_BUILD_ROOT%{_libdir}/dosemu/libplugin*.so
# Move configuration files to /etc/dosemu to make it FHS compliant
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/dosemu/drives
mv -f $RPM_BUILD_ROOT%{_sysconfdir}/{dosemu.conf,dosemu.users,global.conf} \
$RPM_BUILD_ROOT%{_sysconfdir}/dosemu
mv -f $RPM_BUILD_ROOT%{_sysconfdir}/drives/* \
$RPM_BUILD_ROOT%{_sysconfdir}/dosemu/drives
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/dosemu.bin
%{_bindir}/dosemu
%{_bindir}/mkfatimage
%{_bindir}/mkfatimage16
%{_bindir}/midid
%{_bindir}/dosdebug
%{_bindir}/xdosemu
%{_mandir}/man1/mkfatimage16.1*
%{_mandir}/man1/midid.1*
%{_mandir}/man1/dosdebug.1*
%{_mandir}/man1/dosemu.1*
%{_mandir}/man1/dosemu.bin.1*
%{_mandir}/man1/xdosemu.1*
%{_mandir}/ru/man1/mkfatimage16.1*
%{_mandir}/ru/man1/dosdebug.1*
%{_mandir}/ru/man1/dosemu.1*
%{_mandir}/ru/man1/dosemu.bin.1*
%{_mandir}/ru/man1/xdosemu.1*
%dir %{_libdir}/dosemu
%{_libdir}/dosemu/libplugin*.so
%dir %{_datadir}/dosemu
%{_datadir}/dosemu/commands
%{_datadir}/dosemu/freedos
%{_datadir}/dosemu/drive_z
%{_datadir}/dosemu/keymap
%{_datadir}/dosemu/Xfonts
%dir %{_docdir}/%{name}-%{version}
%doc %{_docdir}/%{name}-%{version}/announce
%doc %{_docdir}/%{name}-%{version}/BUGS
%doc %{_docdir}/%{name}-%{version}/ChangeLog
%doc %{_docdir}/%{name}-%{version}/COPYING
%doc %{_docdir}/%{name}-%{version}/COPYING.DOSEMU
%doc %{_docdir}/%{name}-%{version}/DANG.txt
%doc %{_docdir}/%{name}-%{version}/dosemu-HOWTO.txt
%doc %{_docdir}/%{name}-%{version}/EMUfailure.txt
%doc %{_docdir}/%{name}-%{version}/NOVELL-HOWTO.txt
%doc %{_docdir}/%{name}-%{version}/NEWS
%doc %{_docdir}/%{name}-%{version}/README.bindist
%doc %{_docdir}/%{name}-%{version}/README.txt
%doc %{_docdir}/%{name}-%{version}/README-tech.txt
%doc %{_docdir}/%{name}-%{version}/README.gdb
%doc %{_docdir}/%{name}-%{version}/sound-usage.txt
%doc %{_docdir}/%{name}-%{version}/THANKS
%dir %{_sysconfdir}/dosemu
%dir %{_sysconfdir}/dosemu/drives
%config(noreplace) %{_sysconfdir}/dosemu/dosemu.conf
%config(noreplace) %{_sysconfdir}/dosemu/drives/c
%config(noreplace) %{_sysconfdir}/dosemu/drives/d
%config(noreplace) %{_sysconfdir}/dosemu/dosemu.users
%config(noreplace) %{_sysconfdir}/dosemu/global.conf
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/dosemu.xpm
%changelog
* Sun Aug 02 2009 Justin Zygmont <solarflow99[AT]gmail.com>
- 1.4.0-3.1905svn
- used the latest SVN 1905 release
* Sun Mar 22 2009 Justin Zygmont <solarflow99[AT]gmail.com>
- 1.4.0-2.1868svn
- fixed some minor problems with the spec file
* Fri Jul 23 2008 Justin Zygmont <solarflow99[AT]gmail.com>
- 1.4.0-1.1868svn
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/dosemu/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Apr 2009 23:30:57 -0000 1.1
+++ .cvsignore 19 Aug 2009 16:11:19 -0000 1.2
@@ -0,0 +1,3 @@
+dosemu-1.4.0.tgz
+dosemu-freedos-bin.tgz
+freedos-source.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/dosemu/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Apr 2009 23:30:57 -0000 1.1
+++ sources 19 Aug 2009 16:11:19 -0000 1.2
@@ -0,0 +1,3 @@
+0b2cfe3301b963eb190c600a2e7214e8 dosemu-1.4.0.tgz
+2e09774fe91cff4372cb4a393eb467f5 dosemu-freedos-bin.tgz
+f11612ca714dec9245a37263a82721dc freedos-source.tar.gz