Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 8e41082d41b28dd500dc10c6455b635b > files > 2

qtads-1.9-2mdv2010.0.src.rpm

%define name    qtads
%define version 1.9
%define release %mkrel 2

Name:           %{name} 
Summary:        GUI interpreter for Tads games
Version:        %{version} 
Release:        %{release} 
Source0:        http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
URL:            http://qtads.sourceforge.net/
License:        GPLv2

Group:          Games/Other
BuildRequires:  qt3-devel
BuildRoot:      %{_tmppath}/%{name}-buildroot

%description
QTads is a TADS interpreter. TADS is a programming language written by Michael
J. Roberts, designed to implement text-adventure games (Interactive Fiction),
similar to those developed by Infocom in 1980-1990, as well as other companies
(like Legend Entertainment, Level 9, etc). If you liked games like "Zork",
"Adventure", "Trinity", or "Eric the Unready", you'll feel right at home. 

This version of QTads Supports both TADS versions in use today; traditional
TADS 2 as well as the new TADS 3 format. Although it's a non-multimedia
interpreter, it can run games that take advantage of the HTML extensions for
TADS, and supports more HTML-tags than any other non-multimedia interpreter.
It runs on every Unix system for which the Qt library is available, including
Mac OS X.

%files
%defattr(-,root,root,0755)
%doc AUTHORS BUGS COPYING CREDITS NEWS PORTABILITY README TIPS TODO
%{_mandir}/man6/*
%{_bindir}/qtads
%{_datadir}/qtads/charmaps/*
%{_datadir}/qtads/i18n/*
%{_datadir}/applications/mandriva-%{name}.desktop

#--------------------------------------------------------------------

%prep
%setup -q

%build 
%qmake_qt3 \
    BIN_INSTALL=%{buildroot}%{_bindir} \
    DOC_INSTALL=%{buildroot}%{_datadir}/doc \
    DATA_INSTALL=%{buildroot}%{_datadir} \
    CFLAGS="$RPM_OPT_FLAGS" \
    CXXFLAGS="$RPM_OPT_FLAGS"

%make

%install
rm -rf %{buildroot}
%makeinstall
mkdir -p %{buildroot}%{_mandir}/man6
cp -f %{name}.6.gz %{buildroot}%{_mandir}/man6

%{__mkdir_p} %{buildroot}%{_datadir}/applications
%{__cat} > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF
[Desktop Entry]
Name=%{name}
Comment=GUI interpreter for Tads games
Exec=%{name}
Icon=other_amusement
Terminal=false
Type=Application
Categories=Game;AdventureGame;RolePlaying;
EOF


%clean
rm -rf %{buildroot}



%changelog
* Sat Jul 11 2009 Samuel Verschelde <stormi@mandriva.org> 1.9-1mdv2010.0
+ Revision: 394352
- update to new version 1.9

* Sat May 30 2009 Samuel Verschelde <stormi@mandriva.org> 1.8-2mdv2010.0
+ Revision: 381529
- added desktop file
- modified summary

* Fri May 29 2009 Samuel Verschelde <stormi@mandriva.org> 1.8-1mdv2010.0
+ Revision: 381141
- new version 1.8

* Thu May 21 2009 Samuel Verschelde <stormi@mandriva.org> 1.7-2mdv2010.0
+ Revision: 378341
- rebuild for gcc 4.4

* Tue Mar 17 2009 Nicolas Lécureuil <neoclust@mandriva.org> 1.7-1mdv2009.1
+ Revision: 356597
- import qtads


* Mon Mar 31 2008 Samuel Verschelde <specialspam@laposte.net> 1.7-1mdv2008.1
- first package