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 579110 Details for
Bug 814868
RFE: Expose the 4ti2 library
[?]
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.
Proposed 4ti2.spec that builds and install the library
4ti2.spec (text/x-rpm-spec), 4.36 KB, created by
Jerry James
on 2012-04-20 21:34:40 UTC
(
hide
)
Description:
Proposed 4ti2.spec that builds and install the library
Filename:
MIME Type:
Creator:
Jerry James
Created:
2012-04-20 21:34:40 UTC
Size:
4.36 KB
patch
obsolete
>Name: 4ti2 >Version: 1.3.2 >Release: 12%{?dist} >Summary: A software package for problems on linear spaces > >Group: Applications/Engineering >License: GPLv2+ >URL: http://www.4ti2.de/ >Source0: http://www.4ti2.de/version_%{version}/%{name}-%{version}.tar.gz >Source1: http://www.4ti2.de/4ti2_manual.pdf >Source2: 4ti2.module.in >Patch0: 4ti2-1.3.2-gcc47.patch >Requires: environment-modules >Requires: %{name}-libs%{?_isa} = %{version}-%{release} >BuildRequires: gmp-devel >BuildRequires: glpk-devel > >%description >A software package for algebraic, geometric and combinatorial >problems on linear spaces. > >This package uses Environment Modules, to load the binaries onto >your PATH you will need to run module load %{name}-%{_arch} > >%package libs >Summary: Library to solve problems on linear spaces >Group: System Environment/Libraries > >%description libs >A library for solving algebraic, geometric and combinatorial >problems on linear spaces. > >%package devel >Summary: Header files and libraries for developing %{name} applications >Group: Development/Libraries >Requires: %{name}-libs%{?_isa} = %{version}-%{release} > >%description devel >Header files and libraries for developing applications that use >the %{name} library. > >%prep >%setup -q >cp -p %{SOURCE1} . >%patch0 -p1 -b .gcc47 > ># Fix a link failure >sed -i "s/4ti2gmp_LDADD =.*/& \$(GMP_LIBS)/" src/groebner/Makefile.in > >%build >CXXFLAGS="%{optflags} -I%{_includedir}/glpk" \ >CFLAGS="%{optflags} -I%{_includedir}/glpk" \ >%configure --enable-shared --disable-static >sed -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' \ > -e 's|-lstdc++ -lm|-lstdc++|' -i libtool > >make %{?_smp_mflags} > >%install >make install DESTDIR=%{buildroot} > ># Remove libtool archives >rm -f %{buildroot}%{_libdir}/*.la > ># Move the include files into a private directory >mkdir -p %{buildroot}%{_includedir}/%{name} >mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/%{name} > ># Move the binaries >mkdir -p %{buildroot}%{_libdir}/%{name} >mv %{buildroot}%{_bindir} %{buildroot}%{_libdir}/%{name} > ># Make the environment-modules file >mkdir -p %{buildroot}%{_datadir}/Modules/modulefiles/ ># Since we're doing our own substitution here, use our own definitions. >sed 's#@LIBDIR@#'%{_libdir}/%{name}'#g;' < %SOURCE2 >%{buildroot}%{_datadir}/Modules/modulefiles/%{name}-%{_arch} > >%post libs -p /sbin/ldconfig > >%postun libs -p /sbin/ldconfig > >%check >export LD_LIBRARY_PATH=`pwd`/src/groebner/.libs:`pwd`/src/zsolve/.libs >make check > >%files >%doc 4ti2_manual.pdf >%{_libdir}/%{name}/ >%{_datadir}/Modules/modulefiles/%{name}-%{_arch} > >%files libs >%doc COPYING TODO >%{_libdir}/lib*.so.* > >%files devel >%{_includedir}/%{name}/ >%{_libdir}/lib*.so > >%changelog >* Fri Apr 20 2012 Jerry James <loganjerry@gmail.com> - 1.3.2-12 >- Build a shared library (for e.g., LattE) > >* Mon Mar 5 2012 Tom Callaway <spot@fedoraproject.org> - 1.3.2-11 >- fix gcc47 issues > >* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-10 >- Rebuilt for c++ ABI breakage > >* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-9 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild > >* Wed Nov 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.3.2-8 >- Rebuild for new gmp > >* Wed Sep 21 2011 Peter Schiffer <pschiffe@redhat.com> - 1.3.2-7.1 >- rebuild with new gmp > >* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-7 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild > >* Fri May 21 2010 Mark Chappell <tremble@fedoraproject.org> - 1.3.2-6 >- Take ownership of 2 directories we created > >* Tue Mar 02 2010 Mark Chappell <tremble@fedoraproject.org> - 1.3.2-5 >- Add note to description about environment modules > >* Tue Mar 02 2010 Mark Chappell <tremble@fedoraproject.org> - 1.3.2-4 >- Switch to using modules >- Tag with the correct licence (GPLv2+) > >* Thu Feb 25 2010 Mark Chappell <tremble@fedoraproject.org> - 1.3.2-3 >- Preserve time stamp on 4ti2_manual.pdf >- Whitespace cleanup >- Remove obsolete post and portun calls >- Manually specify binaries > >* Thu Feb 25 2010 Mark Chappell <tremble@fedoraproject.org> - 1.3.2-2 >- Tidy up inconsistant use of macros >- Remove empty devel package >- Include 4ti2 manual > >* Wed Feb 17 2010 M D Chappell <tremble@tremble.org.uk> - 1.3.2-1 >- Initial build
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 814868
: 579110