[mnemosyne] updated to 2.0

Jiří Popelka jpopelka at fedoraproject.org
Mon Jun 18 10:44:27 UTC 2012


commit 6bdb64b352277142b9ec0261c084dc7bec8e51df
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Mon Jun 18 12:33:22 2012 +0200

    updated to 2.0

 mnemosyne.spec |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/mnemosyne.spec b/mnemosyne.spec
index 9992cd2..eadbca3 100644
--- a/mnemosyne.spec
+++ b/mnemosyne.spec
@@ -1,23 +1,21 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
 Name:		mnemosyne
 Summary:	Flash-card learning tool
-Version:	1.2.2
-Release:	5%{?dist}
+Version:	2.0
+Release:	1%{?dist}
 URL:		http://www.mnemosyne-proj.org/
-Source0:	http://downloads.sourceforge.net/sourceforge/mnemosyne-proj/%{name}-%{version}.tgz
-Patch0:		%{name}-desktop.patch
-License:	GPLv2+
+Source0:	http://downloads.sourceforge.net/sourceforge/mnemosyne-proj/Mnemosyne-%{version}.tar.gz
+Patch0:		mnemosyne-desktop.patch
+License:	AGPLv3
 Group:		Amusements/Games
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
+
 BuildRequires:	desktop-file-utils
-BuildRequires:	python-devel
+BuildRequires:	python2-devel
 BuildRequires:	python-setuptools
 BuildArch:	noarch
 Requires:	hicolor-icon-theme
-Requires:	pygame
-Requires:	PyQt
-Requires:	python-imaging
+Requires:	PyQt4
+Requires:	python-matplotlib
+Requires:	python-cherrypy
 
 %description
 Mnemosyne resembles a traditional flash-card program but with an
@@ -28,14 +26,13 @@ Optional dependencies:
 * latex: enables entering formulas using latex syntax.
 
 %prep
-%setup -q
+%setup -q -n Mnemosyne-%{version}
 %patch0 -p1 -b .d
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 
 %install
-rm -rf %{buildroot}
 
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
@@ -49,8 +46,7 @@ pushd %{buildroot}/%{_datadir}/icons
 mv %{name}.png hicolor/128x128/apps/%{name}.png
 popd
 
-%clean
-rm -rf %{buildroot}
+%find_lang %{name}
 
 %post
 touch --no-create %{_datadir}/icons/hicolor
@@ -64,16 +60,20 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
 
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog LICENSE README
+%files -f %{name}.lang
+%doc ChangeLog README mnemosyne/libmnemosyne/LICENSE
 %{_bindir}/%{name}
-%{python_sitelib}/%{name}
+%{_bindir}/mnemosyne-webserver
+%{python_sitelib}/mnemosyne
 %{python_sitelib}/Mnemosyne-%{version}-*.egg-info
+%{python_sitelib}/openSM2sync
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 
 %changelog
+* Mon Jun 18 2012 Jiri Popelka <jpopelka at redhat.com> - 2.0-1
+- updated to 2.0
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list