Mageia Bugzilla – Attachment 1500 Details for
Bug 3374
axiom, computer algebra system (Symbolic Computation Program)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Axiom spec file
axiom.spec (text/x-rpm-spec), 5.84 KB, created by
Malo Deniélou
on 2012-02-05 23:05:53 CET
(
hide
)
Description:
Axiom spec file
Filename:
MIME Type:
Creator:
Malo Deniélou
Created:
2012-02-05 23:05:53 CET
Size:
5.84 KB
patch
obsolete
># The releases are now only marked with a date >%define name axiom >%define date jan2011 >%define axvers 201201 >%define release %mkrel 1 >%define x11shlibdir %{_prefix}/%{_lib} > > >Summary: Symbolic Computation Program >Summary(fr.UTF-8): Logiciel de calcul formel >Name: %{name} >Version: 3.4.%axvers >Release: %{release} >License: BSD/GPL >Group: Applications/Engineering >Url: http://axiom.axiom-developer.org >Source: http://axiom.axiom-developer.org/axiom-website/downloads/%{name}-%{date}-src.tgz >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot >BuildRequires: libgmp-devel >BuildRequires: libncurses-devel >BuildRequires: libreadline-devel >BuildRequires: binutils-devel >BuildRequires: X11-devel >BuildRequires: libxpm-devel >BuildRequires: libxt-devel >BuildRequires: tetex >BuildRequires: gawk >BuildRequires: ghostscript >Requires: xterm > >%description >Axiom is a general purpose Computer Algebra system. >It is useful for research and development of mathematical algorithms. >It defines a strongly typed, mathematically correct type hierarchy. >It has a programming language and a built-in compiler. > >%description -l fr.UTF-8 >Axiom est un système de calcul formel à usage général. >Il est utile pour la recherche et le développement d'algorithmes mathématiques. >Il définit une hiérarchie de types, mathématiquement corrects, fortement typés. >Il possède un langage de programmation et un compilateur intégré. > >%prep >%setup -q -n %{name} > >%build >export AXIOM=`pwd`/mnt/linux >export PATH=$AXIOM/bin:$PATH > >make \ > LDF=-L%{_libdir} \ > MAKE=make \ > XLIB=%{_libdir} > >%install >mkdir -p %{buildroot}%{_libdir}/%{name}-%{version} >cp -far mnt/linux/* %{buildroot}%{_libdir}/%{name}-%{version} > >mkdir -p %{buildroot}%{_bindir} >cat > %{buildroot}%{_bindir}/axiom <<EOF >#!/bin/sh >AXIOM=%{_libdir}/%{name}-%{version} >export AXIOM >PATH=\$AXIOM/bin:\$PATH >export PATH >exec \$AXIOM/bin/sman "\$@" >EOF >chmod +x %{buildroot}%{_bindir}/axiom > ># replace some {buildroot} references >perl -pi -e 's|%{buildroot}/axiom/mnt/linux|%{_libdir}/%{name}-%{version}|;' \ > %{buildroot}%{_libdir}/%{name}-%{version}/bin/man/man1/*.1 \ > %{buildroot}%{_libdir}/%{name}-%{version}/bin/lib/pipedocs > ># remove executable bit of some text files >chmod -x %{buildroot}%{_libdir}/%{name}-%{version}/lib/{command.list,copyright} \ > `find %{buildroot}%{_libdir}/%{name}-%{version} -name axiom.sty` > > >#install icons >mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/ >convert axiomicon.png -resize 48x48 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/axiom.png >mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/36x36/apps/ >convert axiomicon.png -resize 36x36 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/36x36/apps/axiom.png > > ># Install desktop file >mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications >cat > $RPM_BUILD_ROOT%{_datadir}/applications/axiom.desktop << EOF >[Desktop Entry] >Encoding=UTF-8 >Name=axiom >GenericName=axiom >GenericName[fr]=axiom >Comment=Computer Algebra system >Comment[fr]=Système de calcul formel >Exec=axiom >TryExec=axiom >Icon=axiom >Terminal=true >Type=Application >Categories=Education;Science;Math; >EOF > > >%files >%doc license/license.* >%dir %{_libdir}/%{name}-%{version} >%{_libdir}/%{name}-%{version}/* >%{_bindir}/axiom >%{_datadir}/applications/%{name}.desktop >%{_datadir}/icons/hicolor/36x36/apps/%{name}.png >%{_datadir}/icons/hicolor/48x48/apps/%{name}.png > > >%changelog >* Sat Feb 19 2011 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20110217.1mdv2011.0 >+ Revision: 638746 >- Update to newer git snapshot and rebuild with texlive > >* Tue Jul 20 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20100719.1mdv2011.0 >+ Revision: 555079 >- Update to a newer git snapshot. > >* Thu Apr 08 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20100407.1mdv2010.1 >+ Revision: 533235 >- Update to newer git snapshot and rebuild with newer gmp > > + Funda Wang <fwang@mandriva.org> > - rebuild for new gmp > >* Wed Dec 02 2009 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20091201.1mdv2010.1 >+ Revision: 472701 >- Update to git snapshot from 20091201 > >* Fri Nov 27 2009 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20081101.1mdv2010.1 >+ Revision: 470708 >- Use newer gcl 2.6.8 pre tarball >- Update for newer binutils >- Run sman by default so that help/graphics are easily available. >- Rediff axiom patches to gcl instead of applying a patch on top of it. >- Update to latest upstream release. > > + Thierry Vignaud <tv@mandriva.org> > - rebuild > - BR xpm-static-devel > - BR tetex-latex > - kill re-definition of %%buildroot on Pixel's request > - use %%mkrel > - import axiom > > + Adam Williamson <awilliamson@mandriva.org> > - replace upstream's in-tree gcl 2.6.8 snapshot with a newer one which works > on x86-64: new source gcl-2.6.8pre2.tgz and patch gcl.patch > - small adjustments to install process and file lists due to (presumably) > upstream changes > - we don't use /usr/X11R6 any more > - cleanups: > + buildrequires > + needless #defines > + tabs > + license > + $RPM_BUILD_ROOT vs. %%buildroot > - add underlink.patch (fix underlinking issues) > - new release (July 2008) > > + Olivier Blin <oblin@mandriva.com> > - restore BuildRoot > > >* Thu Oct 20 2005 Giuseppe Ghibò <ghibo@mandriva.com> 3.4-0.20050901.1mdk >- Sep 2005 release. >- added xterm to Requires. > >* Mon Apr 25 2005 Giuseppe Ghibò <ghibo@mandriva.com> 3.4-0.20050401.2mdk >- Added AXIOMsys in %%_bindir so to have it working under TeXmacs. > >* Sun Apr 24 2005 Couriousous <couriousous@mandriva.org> 3.4-0.20050401.1mdk >- April 2005 release >- Try to package more things, help should works now >- version is 3.4 April 2005 > >* Sat Apr 16 2005 Giuseppe Ghibò <ghibo@mandriva.com> 0.20041230-1mdk >- Release: 20041230. >- Fix build for X86-64. > >* Fri Feb 04 2005 Couriousous <couriousous@mandrake.org> 0.20041028-2mdk >- Rebuild for new libreadline > >* Sun Dec 5 2004 Couriousous <couriousous@zarb.org> 0.20041028-1mdk >- First Mandrakelinux release
# The releases are now only marked with a date %define name axiom %define date jan2011 %define axvers 201201 %define release %mkrel 1 %define x11shlibdir %{_prefix}/%{_lib} Summary: Symbolic Computation Program Summary(fr.UTF-8): Logiciel de calcul formel Name: %{name} Version: 3.4.%axvers Release: %{release} License: BSD/GPL Group: Applications/Engineering Url: http://axiom.axiom-developer.org Source: http://axiom.axiom-developer.org/axiom-website/downloads/%{name}-%{date}-src.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgmp-devel BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: binutils-devel BuildRequires: X11-devel BuildRequires: libxpm-devel BuildRequires: libxt-devel BuildRequires: tetex BuildRequires: gawk BuildRequires: ghostscript Requires: xterm %description Axiom is a general purpose Computer Algebra system. It is useful for research and development of mathematical algorithms. It defines a strongly typed, mathematically correct type hierarchy. It has a programming language and a built-in compiler. %description -l fr.UTF-8 Axiom est un système de calcul formel à usage général. Il est utile pour la recherche et le développement d'algorithmes mathématiques. Il définit une hiérarchie de types, mathématiquement corrects, fortement typés. Il possède un langage de programmation et un compilateur intégré. %prep %setup -q -n %{name} %build export AXIOM=`pwd`/mnt/linux export PATH=$AXIOM/bin:$PATH make \ LDF=-L%{_libdir} \ MAKE=make \ XLIB=%{_libdir} %install mkdir -p %{buildroot}%{_libdir}/%{name}-%{version} cp -far mnt/linux/* %{buildroot}%{_libdir}/%{name}-%{version} mkdir -p %{buildroot}%{_bindir} cat > %{buildroot}%{_bindir}/axiom <<EOF #!/bin/sh AXIOM=%{_libdir}/%{name}-%{version} export AXIOM PATH=\$AXIOM/bin:\$PATH export PATH exec \$AXIOM/bin/sman "\$@" EOF chmod +x %{buildroot}%{_bindir}/axiom # replace some {buildroot} references perl -pi -e 's|%{buildroot}/axiom/mnt/linux|%{_libdir}/%{name}-%{version}|;' \ %{buildroot}%{_libdir}/%{name}-%{version}/bin/man/man1/*.1 \ %{buildroot}%{_libdir}/%{name}-%{version}/bin/lib/pipedocs # remove executable bit of some text files chmod -x %{buildroot}%{_libdir}/%{name}-%{version}/lib/{command.list,copyright} \ `find %{buildroot}%{_libdir}/%{name}-%{version} -name axiom.sty` #install icons mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/ convert axiomicon.png -resize 48x48 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/axiom.png mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/36x36/apps/ convert axiomicon.png -resize 36x36 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/36x36/apps/axiom.png # Install desktop file mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications cat > $RPM_BUILD_ROOT%{_datadir}/applications/axiom.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=axiom GenericName=axiom GenericName[fr]=axiom Comment=Computer Algebra system Comment[fr]=Système de calcul formel Exec=axiom TryExec=axiom Icon=axiom Terminal=true Type=Application Categories=Education;Science;Math; EOF %files %doc license/license.* %dir %{_libdir}/%{name}-%{version} %{_libdir}/%{name}-%{version}/* %{_bindir}/axiom %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/36x36/apps/%{name}.png %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %changelog * Sat Feb 19 2011 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20110217.1mdv2011.0 + Revision: 638746 - Update to newer git snapshot and rebuild with texlive * Tue Jul 20 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20100719.1mdv2011.0 + Revision: 555079 - Update to a newer git snapshot. * Thu Apr 08 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20100407.1mdv2010.1 + Revision: 533235 - Update to newer git snapshot and rebuild with newer gmp + Funda Wang <fwang@mandriva.org> - rebuild for new gmp * Wed Dec 02 2009 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20091201.1mdv2010.1 + Revision: 472701 - Update to git snapshot from 20091201 * Fri Nov 27 2009 Paulo Andrade <pcpa@mandriva.com.br> 3.4-0.20081101.1mdv2010.1 + Revision: 470708 - Use newer gcl 2.6.8 pre tarball - Update for newer binutils - Run sman by default so that help/graphics are easily available. - Rediff axiom patches to gcl instead of applying a patch on top of it. - Update to latest upstream release. + Thierry Vignaud <tv@mandriva.org> - rebuild - BR xpm-static-devel - BR tetex-latex - kill re-definition of %%buildroot on Pixel's request - use %%mkrel - import axiom + Adam Williamson <awilliamson@mandriva.org> - replace upstream's in-tree gcl 2.6.8 snapshot with a newer one which works on x86-64: new source gcl-2.6.8pre2.tgz and patch gcl.patch - small adjustments to install process and file lists due to (presumably) upstream changes - we don't use /usr/X11R6 any more - cleanups: + buildrequires + needless #defines + tabs + license + $RPM_BUILD_ROOT vs. %%buildroot - add underlink.patch (fix underlinking issues) - new release (July 2008) + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Oct 20 2005 Giuseppe Ghibò <ghibo@mandriva.com> 3.4-0.20050901.1mdk - Sep 2005 release. - added xterm to Requires. * Mon Apr 25 2005 Giuseppe Ghibò <ghibo@mandriva.com> 3.4-0.20050401.2mdk - Added AXIOMsys in %%_bindir so to have it working under TeXmacs. * Sun Apr 24 2005 Couriousous <couriousous@mandriva.org> 3.4-0.20050401.1mdk - April 2005 release - Try to package more things, help should works now - version is 3.4 April 2005 * Sat Apr 16 2005 Giuseppe Ghibò <ghibo@mandriva.com> 0.20041230-1mdk - Release: 20041230. - Fix build for X86-64. * Fri Feb 04 2005 Couriousous <couriousous@mandrake.org> 0.20041028-2mdk - Rebuild for new libreadline * Sun Dec 5 2004 Couriousous <couriousous@zarb.org> 0.20041028-1mdk - First Mandrakelinux release
View Attachment As Raw
Actions:
View
Attachments on
bug 3374
:
1264
|
1266
| 1500 |
1501