Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 8ed1bd54cfc3d0b2805b94b90958ccd9 > files > 6

textroom-0.8.2-4.mga3.src.rpm

Name:		textroom
Version:	0.8.2
Release:	%mkrel 4
License:	GPLv3
URL:		http://code.google.com/p/textroom/
BuildRequires:	qt4-devel 
BuildRequires:	SDL-devel 
BuildRequires:	hunspell-devel 
BuildRequires:	mesagl-devel
BuildRequires:  SDL_mixer-devel
BuildRequires:  curl-devel
BuildRequires:  libxml++-devel
BuildRequires:  xdg-utils
Source:		http://textroom.googlecode.com/files/%name-%version.tar.gz
Patch0:		textroom-0.8.2-fix-hunspell.patch
Patch1:		textroom-0.8.2-fix-libdir.patch
Patch2:		textroom-0.8.2-fix-desktop.patch
Patch3:		textroom-0.8.2-fix-missing-include-for-new-g++.patch
Group:		Office/Word processor
Summary:	Full Screen Rich Text Editor For Writers

%description
Open Source Cross Platform Full Screen Rich Text Editor For Writers

%files
%doc License ReadMe
%_bindir/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/hunspell/tr.aff
%{_datadir}/hunspell/tr.dic
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/sounds/keyany.wav
%{_datadir}/sounds/keyenter.wav
%{_datadir}/%{name}/

#------------------------------------------------------------------------------
%prep
%setup -q
%patch0 -p1
%ifarch x86_64 
%patch1 -p1
%endif
%patch2 -p1
chmod 644 License ReadMe
%patch3 -p1

%build
%qmake_qt4 PREFIX=%_prefix 
%make

%install
make install INSTALL_ROOT=%{buildroot}
# Remove the uninstall script 
rm -rf %{buildroot}/%_bindir/%{name}-uninstall
%find_lang %{name}


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.8.2-4.mga3
+ Revision: 384489
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Dec 18 2012 malo <malo> 0.8.2-3.mga3
+ Revision: 332255
- spec clean-up
- add patch to fix build due to missing include (new g++)
- update RPM group

  + mikala <mikala>
    - Fix typo in URL

* Sun Jun 26 2011 fwang <fwang> 0.8.2-2.mga2
+ Revision: 114003
- link hunspell 1.3
- rebuild for new hunspell

* Tue Jun 14 2011 mikala <mikala> 0.8.2-1.mga2
+ Revision: 106048
- imported package textroom