Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 883764 Details for
Bug 1083941
Review Request: giac - Computer Algebra System
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
giac.spec
giac.spec (text/x-rpm-spec), 8.44 KB, created by
Antonio T. (sagitter)
on 2014-04-07 20:24:42 UTC
(
hide
)
Description:
giac.spec
Filename:
MIME Type:
Creator:
Antonio T. (sagitter)
Created:
2014-04-07 20:24:42 UTC
Size:
8.44 KB
patch
obsolete
>Name: giac >Summary: Computer Algebra System, Symbolic calculus, geometry >Version: 1.1.0 >Release: 1%{?dist} >License: GPLv3+ >Group: Applications/Engineering >URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html >Source0: http://www-fourier.ujf-grenoble.fr/~parisse/giac/%{name}-%{version}.tar.gz >Source1: giac.1 >Source2: pgiac.1 >Source3: cas_help.1 ># Patching README from 1.1.1 >Patch0: giac-%{version}-README.patch >Patch1: giac-%{version}-Werror0.patch >BuildRequires: readline-devel >BuildRequires: mpfr-devel, gmp-devel, gsl-devel, ntl-devel, pari-devel, lapack-devel >BuildRequires: mesa-libGL-devel, libpng-devel, libjpeg-devel, fltk-devel >BuildRequires: desktop-file-utils >BuildRequires: tex(latex) > >%description >Giac is a Computer Algebra System made by Bernard Parisse. It provides >features from the C/C++ libraries PARI, NTL (arithmetic), GSL (numerics), >GMP (big integers), MPFR (bigfloats) and also > - Efficient algorithms for multivariate polynomial operations > (product, GCD, factorization, groebner bases), > - Symbolic computations: solver, simplifications, limits/series, integration, > - Linear Algebra with numerical or symbolic coefficients. > - Partial Maple and TI compatibility. > >it consists of: > - a C++ library (libgiac) > - a command line interpreter (icas/giac) > - an FLTK-based GUI (xcas) with interactive geometry and formal spreadsheets. > > >%package devel >Summary: Development files for libgiac >Group: Development/Libraries >Requires: %{name}%{?_isa} = %{version}-%{release} > >%description devel >Development files for libgiac. > >%package doc >Summary: Detailled html documentation for Giac/Xcas >Requires: %{name}%{?_isa} = %{version}-%{release} >BuildArch: noarch >License: GPLv2+ > >%description doc >The detailled html documentation and examples for giac and xcas. It is directly >accessible from xcas in many ways (browser, context search, thematic indexes). >It is strongly recommended for xcas usage. Note that the french part has been >removed from the original source due to non free Licence. > >%package gui >Summary: GUI application for Giac/Xcas >Requires: %{name}%{?_isa} = %{version}-%{release} > >%description gui >%{summary} > >%prep >%setup -q >#some files in the upstream source have unnecessary executable rights >chmod -x src/*.h >chmod -x src/*.cc >chmod -x examples/tortue/*.cxx >#Fix bad FSF addresses in some files. >sed -i -e 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./' src/*.h >sed -i -e 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./' src/*.cc >sed -i -e 's/Free Software Foundation, Inc., 675 Mass Ave,//' src/gl2ps.c >sed -i -e 's/ * Cambridge, MA 02139, USA./ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./' src/gl2ps.c >sed -i -e 's/Free Software Foundation, Inc., 675 Mass Ave,//' src/gl2ps.h >sed -i -e 's/ * Cambridge, MA 02139, USA./ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA./' src/gl2ps.h >#The README contains also LICENSE informations, but it is not really up to date in 1.1.0 ># so patching from 1.1.1 >%patch0 >ln -s README LICENSE > >#Fixes to allow compilation with -Werror=format-security ># reported: http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?f=5&t=1456 ># (included in giac-1.1.1) >%patch1 > >%build ># disabling the construction of libgiac.a according to fedora policy >%configure --enable-static=0 ># the --disable-rpath option of configure was not enough to get rid of the hardcoded libdir >sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool >sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool >make %{?_smp_mflags} > > >%install >make DESTDIR=%{buildroot} install > >#remove unwanted files. >rm -f %{buildroot}%{_infodir}/dir >rm -rf %{buildroot}%{_datadir}/application-registry ># the .la is still built despite the built of libgiac.a has been disabled >rm -f %{buildroot}%{_libdir}/libgiac.la ># I have tried to remove the empty files in the setup stage, it was not a good idea ># because make install will then require hevea as an extra (and big) dependancy and I guess ># that it will recreate those empty files, so it's better to delete them here. >find %{buildroot} -size 0 -delete >find %{buildroot} -name *~ -delete ># obsolete symbolic link >rm -f %{buildroot}%{_bindir}/xcasnew ># ># mime package was not installed. >mkdir -p %{buildroot}%{_datadir}/mime/packages >cp -p debian/giac.sharedmimeinfo %{buildroot}%{_datadir}/mime/packages/giac.xml ># >#DOC Files: ># 1) Man: ># We provide some man pages because the only one available was found in giac-1.1.0/debian ># and it is obsolete. broken options... >mkdir -p %{buildroot}%{_mandir}/man1 >install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1 >install -pm 644 %{SOURCE2} %{buildroot}%{_mandir}/man1 >install -pm 644 %{SOURCE3} %{buildroot}%{_mandir}/man1 >(cd %{buildroot}%{_mandir}/man1 ;\ > ln -s giac.1.gz icas.1.gz ;\ > ln -s giac.1.gz xcas.1.gz ;\ > ln -s cas_help.1.gz en_cas_help.1.gz;\ > ln -s cas_help.1.gz es_cas_help.1.gz;\ > ln -s cas_help.1.gz fr_cas_help.1.gz ) ># 2) Non GPL French Doc: ># The detailled french documentation of Giac/Xcas has not the same License. ># it is (c) by Renee de Graeve. It can be freely distributed for non commercial purpose. ># Other kind of redistributions require the consent of the copyright holder. ># I have asked upstream to look if they could find some acceptable License in Fedora list ># until this I remove those files. >rm -rf %{buildroot}%{_datadir}/giac/doc/fr/[acht]* ># So I add a link for FR env users to have the english help instead of a page not found. >(cd %{buildroot}%{_datadir}/giac/doc/fr ; ln -s ../en/cascmd_en cascmd_fr ) > > >%find_lang %{name} >desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications/\ > %{buildroot}%{_datadir}/applications/xcas.desktop > > > >%post >/sbin/ldconfig >/sbin/install-info %{_infodir}/%{name}_us.info %{_infodir}/dir || : >/sbin/install-info %{_infodir}/%{name}_es.info %{_infodir}/dir || : >touch --no-create %{_datadir}/icons/hicolor >if [ -x %{_bindir}/gtk-update-icon-cache ]; then > %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; >fi >update-mime-database %{_datadir}/mime &> /dev/null || : >update-desktop-database &> /dev/null || : > >%preun >if [ $1 = 0 ] ; then >/sbin/install-info --delete %{_infodir}/%{name}_us.info %{_infodir}/dir || : >/sbin/install-info --delete %{_infodir}/%{name}_es.info %{_infodir}/dir || : >fi > >%postun >/sbin/ldconfig >touch --no-create %{_datadir}/icons/hicolor >if [ -x %{_bindir}/gtk-update-icon-cache ]; then > %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor; >fi >update-mime-database %{_datadir}/mime &> /dev/null || : >update-desktop-database &> /dev/null || : > >#%check ># outputs in check/ are too old in the original 1.1.0 source. Non significant FAIL will appear. ># (in 1.1.0 A FAIL doesn't necessarily imply that the built is broken.) >#make check > > >%files -f %{name}.lang >## License file MUST be GPLv3+ >%doc README LICENSE >%{_bindir}/icas >%{_bindir}/giac >%{_bindir}/pgiac >%{_bindir}/*_help >%{_libdir}/libgiac.so.* >%{_infodir}/giac_*.info.gz >%{_mandir}/man1/giac* >%{_mandir}/man1/icas* >%{_mandir}/man1/pgiac* >%{_mandir}/man1/*_help* > >%files gui >%{_bindir}/xcas >%{_datadir}/applications/xcas.desktop >%{_datadir}/mime/packages/giac.xml >%{_datadir}/pixmaps/xcas.xpm >%{_datadir}/icons/hicolor/128x128/apps/xcas.png >%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-xcas.png >%{_datadir}/icons/hicolor/16x16/apps/xcas.png >%{_datadir}/icons/hicolor/16x16/mimetypes/application-x-xcas.png >%{_datadir}/icons/hicolor/256x256/apps/xcas.png >%{_datadir}/icons/hicolor/256x256/mimetypes/application-x-xcas.png >%{_datadir}/icons/hicolor/32x32/apps/xcas.png >%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-xcas.png >%{_datadir}/icons/hicolor/64x64/apps/xcas.png >%{_datadir}/icons/hicolor/64x64/mimetypes/application-x-xcas.png >%{_mandir}/man1/xcas* >%{_mandir}/man1/giac* > > >%files devel >%{_includedir}/giac/ >%{_libdir}/libgiac.so > > >#DOC Files: ># 3) As we have removed the FR doc, more than 2/3 of the following files are for the EN doc, ># so it is meaningfull to put all the GPL doc together. >%files doc >## License file MUST be GPLv2+ >%doc README LICENSE >%{_datadir}/giac/ >%{_docdir}/giac/ > > >%changelog >* Sun Apr 6 2014 Frederic Han <han@math.jussieu.fr> 1.1.0-1 >- Initial version
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1083941
: 883764