automatic version update by autodist [release 4.2.60.0-1mamba;Sat Oct 05 2013]

This commit is contained in:
Automatic Build System 2024-01-05 22:41:38 +01:00
parent 9c5cb0c21e
commit 76e310343e
6 changed files with 225 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# geogebra # geogebra
GeoGebra is a free mathematics software for learning and teaching
Features:
* Interactive graphics, algebra and spreadsheet
* From elementary school to university level
* Free learning materials

View File

@ -0,0 +1,11 @@
--- geogebra-portable-3.2.47.0/GeoGebraThumbnail/src/geogebrathumbnail.desktop 2009-09-27 02:05:23.000000000 +0200
+++ geogebra-portable-3.2.47.0/GeoGebraThumbnail/src/geogebrathumbnail.desktop.fix 2011-11-01 13:54:07.000000000 +0100
@@ -3,7 +3,7 @@
Name=GeoGebra Files
Name[es]=Archivos de GeoGebra
X-KDE-ServiceTypes=ThumbCreator
-MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool
+MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;
X-KDE-Library=geogebrathumbnail
CacheThumbnail=true
IgnoreMaximumSize=true

View File

25
geogebra-desktopfile Normal file
View File

@ -0,0 +1,25 @@
[Desktop Entry]
Encoding=UTF-8
Name=GeoGebra
GenericName=Dynamic mathematics software
GenericName[cs]=Dynamický matematický software
GenericName[de]=Dynamische Mathematiksoftware
GenericName[es]=Programa de matemáticas dinámico
GenericName[fr]=Logiciel de Mathématiques dynamiques
GenericName[hi]=सक्रिय गणितीय सॉफ्टवेर
GenericName[it]=Software di matematica dinamica
GenericName[pt_BR]=Programa de Matemática Dinâmica
Comment=Create interactive mathematical constructions and applets.
Comment[cs]=Vytvořte interaktivní konstrukce a aplety.
Comment[de]=Erstelle interaktive Konstruktionen und Applets.
Comment[fr]=Créer des constructions mathématiques et des appliquettes.
Comment[hi]=संवादात्मक गणितीय निर्माण और एप्लेट बनाएँ
Comment[it]=Creazione di costruzioni matematiche e applet interattive.
Comment[pt_BR]=Crie construções matemáticas interativas e applets.
Exec=GG_PATH=@JARDIR@ geogebra %F
Icon=@NAME@
Terminal=false
Type=Application
Categories=Application;Education;Math
StartupNotify=false
MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;

158
geogebra.spec Normal file
View File

@ -0,0 +1,158 @@
Name: geogebra
Version: 4.2.60.0
Release: 1mamba
Summary: A free mathematics software for learning and teaching
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.geogebra.at/
Source0: http://geogebra.googlecode.com/files/GeoGebra-Linux-i586-Portable-%{version}.tar.gz
Source1: http://dev.geogebra.org/svn/branches/ggb32/geogebra/unix/usr/share/mime/packages/geogebra.xml
Source2: http://www.geogebra.org/download/GeoGebra_hicolor_icons.tar.gz
Source3: http://www.geogebra.org/download/GeoGebra_Thumbnail_KDE.tar.gz
Source4: geogebra-desktopfile
Patch0: %{name}-4.0.41.0-geogebra_script.patch
Patch1: %{name}-3.2.47.0-geogebrathumbnail-desktop-mime.patch
License: GPL
Requires: java
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GeoGebra is a free mathematics software for learning and teaching
Features:
* Interactive graphics, algebra and spreadsheet
* From elementary school to university level
* Free learning materials
%package thumbnail-kde
Summary: KDE Thumbnail Creator for GeoGebra files
Group: Graphical Desktop/Applications/Educational
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description thumbnail-kde
This package provides GeoGebraThumbnail, a KDE thumbnail-plugin that generates small images (thumbnails) for GeoGebra files, to be displayed, for example, on Konqueror and Dolphin file managers.
%prep
%setup -q -n GeoGebra-Linux-i586-Portable-%{version} -a2 -a3
%patch0 -p1
%patch1 -p1
%build
cd GeoGebraThumbnail
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C GeoGebraThumbnail/build
install -D -m 755 geogebra/geogebra %{buildroot}%{_bindir}/%{name}
sed -i "s,@GG_PATH@,%{_datadir}/%{name}," %{buildroot}%{_bindir}/%{name}
install -d %{buildroot}%{_datadir}/%{name}
install -m 644 geogebra/*.jar geogebra/*.txt %{buildroot}%{_datadir}/%{name}/
# install hicolor icons
install -d %{buildroot}%{_datadir}/icons/
cp -R hicolor %{buildroot}%{_datadir}/icons/
# install mime info file
install -D -m 644 %{S:1} %{buildroot}%{_datadir}/mime/packages/%{name}.xml
# install desktop file and icon
install -D -m 644 %{S:4} %{buildroot}%{_datadir}/applications/%{name}.desktop
sed -i "s,@NAME@,%{name},;s,@JARDIR@,%{_datadir}/%{name}," \
%{buildroot}%{_datadir}/applications/%{name}.desktop
#install -D -m 644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
exit 0
%posttrans
update-desktop-database -q &>/dev/null
update-mime-database %{_datadir}/mime &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database %{_datadir}/mime &>/dev/null
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null
fi
exit 0
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/geogebra/
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/geogebra.png
%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.geogebra.file.png
%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.geogebra.tool.png
%{_datadir}/icons/hicolor/scalable/apps/geogebra.svgz
%{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.geogebra.file.svgz
%{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.geogebra.tool.svgz
%files thumbnail-kde
%defattr(-,root,root)
%{_kde4_libdir}/kde4/geogebrathumbnail.so
%{_kde4_servicesdir}/geogebrathumbnail.desktop
%changelog
* Sat Oct 05 2013 Automatic Build System <autodist@mambasoft.it> 4.2.60.0-1mamba
- automatic version update by autodist
* Sat Sep 14 2013 Automatic Build System <autodist@mambasoft.it> 4.2.57.0-1mamba
- automatic version update by autodist
* Sun Sep 01 2013 Automatic Build System <autodist@mambasoft.it> 4.2.56.0-1mamba
- automatic version update by autodist
* Sun Aug 11 2013 Automatic Build System <autodist@mambasoft.it> 4.2.55.0-1mamba
- automatic version update by autodist
* Fri Jun 28 2013 Automatic Build System <autodist@mambasoft.it> 4.2.51.0-1mamba
- automatic version update by autodist
* Sun May 26 2013 Automatic Build System <autodist@mambasoft.it> 4.2.47.0-1mamba
- automatic version update by autodist
* Sun May 19 2013 Automatic Build System <autodist@mambasoft.it> 4.2.41.0-1mamba
- automatic version update by autodist
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 4.2.36.0-1mamba
- automatic version update by autodist
* Wed Apr 24 2013 Automatic Build System <autodist@mambasoft.it> 4.2.31.0-1mamba
- automatic version update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 4.2.30.0-1mamba
- automatic version update by autodist
* Fri Oct 05 2012 Davide Madrisan <davide.madrisan@gmail.com> 4.0.41.0-1mamba
- update to 4.0.41.0
* Tue Nov 01 2011 Davide Madrisan <davide.madrisan@gmail.com> 3.2.47.0-3mamba
- geogebrathumbnail-desktop: add missing trailing semicolon to MymeType
* Sat Oct 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 3.2.47.0-2mamba
- add a mime info file and an appropriate MimeType line in the desktop file
- add mime icons (.png and .svgz)
* Wed Oct 26 2011 Davide Madrisan <davide.madrisan@gmail.com> 3.2.47.0-1mamba
- update to 3.2.47.0
* Wed Oct 26 2011 Davide Madrisan <davide.madrisan@gmail.com> 2.6a-2mamba
- repackaged for openmamba
* Tue Jul 26 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.6a-1qilnx
- package created by autospec

25
geogebra.xml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/vnd.geogebra.file">
<comment>GeoGebra worksheet</comment>
<comment xml:lang="cs">Pracovní list GeoGebry</comment>
<comment xml:lang="de">GeoGebra-Arbeitsblatt</comment>
<comment xml:lang="es">Archivo GeoGebra</comment>
<comment xml:lang="fr">Feuille de travail GeoGebra </comment>
<comment xml:lang="hi">जीओ-जेब्रा कार्य-पत्र</comment>
<comment xml:lang="it">Foglio di lavoro GeoGebra </comment>
<comment xml:lang="pt-BR">Planilha GeoGebra</comment>
<glob pattern="*.ggb"/>
</mime-type>
<mime-type type="application/vnd.geogebra.tool">
<comment>GeoGebra tool</comment>
<comment xml:lang="cs">Nástroj GeoGebry</comment>
<comment xml:lang="de">GeoGebra-Werkzeug</comment>
<comment xml:lang="es">Herramienta GeoGebra</comment>
<comment xml:lang="fr">Outil GeoGebra</comment>
<comment xml:lang="hi">जीओ-जेब्रा साधन</comment>
<comment xml:lang="it">Strumento GeoGebra</comment>
<comment xml:lang="pt-BR">Ferramenta GeoGebra</comment>
<glob pattern="*.ggt"/>
</mime-type>
</mime-info>