Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 1aa2a05767bd158eaf6c2158552e4277 > files > 2

perroquet-1.1.1-3.mga3.src.rpm

Summary:	A listening comprehension tutor
Name:		perroquet
Version:	1.1.1
Release:	%mkrel 3
Source0:	http://launchpad.net/perroquet/1.1/%{version}/+download/%{name}-%{version}.tar.gz
License:	GPLv3
Group:		Education
URL:		http://perroquet.b219.org
BuildRequires:	python-devel
BuildRequires:	intltool
BuildRequires:	python-setuptools
BuildRequires:	desktop-file-utils
Requires:	gtk+2.0
Requires:	gstreamer0.10-plugins-good
Requires:	gstreamer0.10-soundtouch
Requires:	gstreamer0.10-python
Requires:	pygtk2.0
BuildArch:	noarch

%description
Perroquet is a educational program to improve playfully your listening in a
foreign language.

The principle of Perroquet is to use a video or audio file and the associated
subtitles to make you listen and understand the dialogue or lyrics. After
having identified the files to use, Perroquet will read a piece of video then
pause. It will show you the number of words to find and you will have to type
them to continue. You can listen a sequence as many times as necessary.
If you do not understand, Perroquet offers several means to help you.

%prep
%setup -q

%build
python setup.py build 

%install
rm -rf %{buildroot}
python setup.py \
	--without-icon-cache \
	--without-mime-database \
	--without-desktop-database \
	install --root=%{buildroot}

desktop-file-install \
	--remove-key=Encoding \
	--remove-category=Application \
	--add-category=Languages \
	--dir %{buildroot}%{_datadir}/applications \
	%{buildroot}%{_datadir}/applications/%{name}.desktop

%find_lang %{name}

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog NEWS MAINTAINERS
%{_bindir}/%{name}
%{python_sitelib}/%{name}lib
%{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info
%{_datadir}/applications/%{name}.desktop
%{_iconsdir}/hicolor/*/*/*.*
%{_datadir}/%{name}
%{_datadir}/pixmaps/*
%{_datadir}/mime/packages/%{name}.xml
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*.ini
%config(noreplace) %{_sysconfdir}/%{name}/*.conf




%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.1.1-3.mga3
+ Revision: 375633
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Sep 06 2011 wally <wally> 1.1.1-2.mga2
+ Revision: 139128
- require gstreamer0.10-soundtouch (for slowly play feature)

* Fri Jun 17 2011 wally <wally> 1.1.1-1.mga2
+ Revision: 109291
- imported package perroquet