%define rev svn20140414 Name: mathmod Version: 1.0 Release: %mkrel -c %rev 5 Summary: A program which generate 3D and 4D surfaces Group: Sciences/Mathematics URL: http://sourceforge.net/projects/mathmod Source: http://sourceforge.net/projects/mathmod/files/MathMod-1.0/Beta/%{name}-%{version}-beta-qt4.zip Source1: %{name}.png License: GPLv2 BuildRequires: qt4-devel Provides: k3dsurf = %{version} %description MathMod is a mathematical modeling software that visualize and animate implicit and parametric surfaces. MathMod supports: 3D and 4D plotting and animation OBJ output file format Scripting language compatible with JSON Large set of scripted examples %prep %setup -q -n %{name}-%{version}-beta-qt4 %build %qmake_qt4 %make %install install -D -m755 %{name} %{buildroot}%{_bindir}/%{name} install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png # Create the system menu entry %{__mkdir_p} %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=MathMod GenericName=3D and 4D surfaces generation GenericName[it]=Grafici di funzioni 3D e 4D GenericName[ru]=ÐенеÑаÑÐ¸Ñ 3D и 4D повеÑÑ Ð½Ð¾ÑÑей Comment=Tool for mathematical surfaces Comment[af]=Hulpmiddel vir wiskundige oppervlakke Comment[sq]=Mjet për sipërfaqet matematike Comment[ast]=Preséu pa superficies matemátiques Comment[be]=ÐÑÑлада Ð´Ð»Ñ Ð¿ÑаÑÑ Ð· маÑÑмаÑÑÑнÑÐ¼Ñ Ð¿Ð°Ð²ÐµÑÑ Ð½ÑÐ¼Ñ Comment[bn]=à¦à¦¾à¦£à¦¿à¦¤à¦¿à¦ পà§à¦·à§à¦ তলà§à¦° à¦à¦¨à§à¦¯ à¦à§à¦² Comment[bs]=Alat za matematiÄke povrÅ¡ine Comment[pt_BR]=Ferramenta para superfÃcies matemáticas Comment[bg]=ÐнÑÑÑÑÐ¼ÐµÐ½Ñ Ð·Ð° маÑемаÑиÑеÑки повÑÑÑ Ð½Ð¸Ð½Ð¸ Comment[ca]=Eina per a superfÃcies matemà tiques Comment[ca@valencia]=Eina per a superfÃcies matemà tiques Comment[crh]=Matematiksel yüzeyler için bir araç Comment[zh_CN]=æ°å¦æ²é¢å·¥å · Comment[da]=Værktøj til matematiske overflader Comment[cs]=Nástroj pro zobrazenà matematického prostoru Comment[nl]=Programma voor wiskundige oppervlaktes Comment[fi]=Matemaattisten pintojen työkalu Comment[fr]=Outil pour les surfaces mathématiques Comment[gl]=Ferramenta para superficies matemáticas Comment[de]=Werkzeug für mathematische Oberflächen Comment[gd]=Inneal son uachdaran matamataig Comment[el]=ÎÏγαλείο για μαθημαÏικÎÏ ÎµÏιÏÎ¬Î½ÎµÎ¹ÎµÏ Comment[hu]=Eszköz matematikai felületekhez Comment[it]=Strumento per superfici matematiche Comment[ja]=æ°å¦çãªæ²é¢ãã¼ã« Comment[ky]=ÐаÑемаÑикалÑк ÑегиздикÑÐµÑ Ð¼ÐµÐ½ÐµÐ½ иÑÑÓ©Ó© Ò¯Ñүн Ñайман Comment[lt]=Ä®rankis matematiniams pavirÅ¡iams Comment[ms]=Alat untuk permukaan matematik Comment[oc]=Aisina per las susfà cias matematicas Comment[nb]=Verktøy for matematiske overflater Comment[pl]=PrzeksztaÅcanie i wizualizacja wielowymiarowych powierzchni za pomocÄ matematycznych przeksztaÅceÅ Comment[pt]=Ferramenta para superfÃcies matemáticas Comment[ru]=ÐнÑÑÑÑÐ¼ÐµÐ½Ñ Ð´Ð»Ñ ÑабоÑÑ Ñ Ð¼Ð°ÑемаÑиÑеÑкими повеÑÑ Ð½Ð¾ÑÑÑми Comment[ro]=UnealtÄ pentru suprafeÈe matematice Comment[sk]=Nástroj na matematické povrchy Comment[sl]=Orodje za matematiÄne povrÅ¡ine Comment[sv]=Verktyg för matematiska ytor Comment[es]=Herramienta para superficies matemáticas Comment[tr]=Matematiksel yüzeyler için bir araç Comment[uk]=ÐнÑÑÑÑÐ¼ÐµÐ½Ñ Ð´Ð»Ñ ÑобоÑи з маÑемаÑиÑними повеÑÑ Ð½Ñми Comment[vi]=Công cụ bá» mặt toán há»c Exec=%{name} Icon=%{name} Terminal=false Type=Application StartupNotify=true Categories=Education;Science;Math; EOF %files %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.0-0.svn20140414.5.mga5 + Revision: 741678 - Second Mageia 5 Mass Rebuild * Sun Sep 28 2014 alexl <alexl> 1.0-0.svn20140414.4.mga5 + Revision: 731488 - added Provides: k3dsurf * Tue Sep 16 2014 umeabot <umeabot> 1.0-0.svn20140414.3.mga5 + Revision: 682209 - Mageia 5 Mass Rebuild * Tue Aug 05 2014 alexl <alexl> 1.0-0.svn20140413.3.mga5 + Revision: 660030 - added new Comment for desktop file and translated it * Mon Jul 21 2014 alexl <alexl> 1.0-0.svn20140413.2.mga5 + Revision: 654986 - fixed desktop file * Mon May 19 2014 alexl <alexl> 1.0-0.svn20140413.1.mga5 + Revision: 623711 - imported package mathmod