|
|
a1679c |
Name: plotutils
|
|
|
a1679c |
Version: 2.6
|
|
|
a1679c |
Release: 20%{?dist}
|
|
|
a1679c |
Summary: GNU vector and raster graphics utilities and libraries
|
|
|
a1679c |
|
|
|
a1679c |
# libxmi is GPLv2+
|
|
|
a1679c |
# rest is GPLv3+
|
|
|
a1679c |
License: GPLv2+ and GPLv3+
|
|
|
a1679c |
URL: http://www.gnu.org/software/plotutils/
|
|
|
a1679c |
Source0: ftp://ftp.gnu.org/gnu/plotutils/plotutils-%{version}.tar.gz
|
|
|
a1679c |
Patch0: plotutils-2.6-png15.patch
|
|
|
a1679c |
Patch1: plotutils-aarch64.patch
|
|
|
a1679c |
Patch2: plotutils-werror-format-security.patch
|
|
|
a1679c |
|
|
|
a1679c |
BuildRequires: gcc-c++
|
|
|
a1679c |
BuildRequires: make
|
|
|
a1679c |
BuildRequires: flex
|
|
|
a1679c |
BuildRequires: libpng-devel
|
|
|
a1679c |
BuildRequires: xorg-x11-proto-devel
|
|
|
a1679c |
BuildRequires: libX11-devel
|
|
|
a1679c |
BuildRequires: libXaw-devel
|
|
|
a1679c |
BuildRequires: libXt-devel
|
|
|
a1679c |
BuildRequires: libXext-devel
|
|
|
a1679c |
BuildRequires: byacc
|
|
|
a1679c |
|
|
|
a1679c |
Requires(post): /sbin/install-info
|
|
|
a1679c |
Requires(post): /sbin/ldconfig
|
|
|
a1679c |
Requires(preun): /sbin/install-info
|
|
|
a1679c |
|
|
|
a1679c |
%description
|
|
|
a1679c |
The GNU plotutils package contains software for both programmers and
|
|
|
a1679c |
technical users. Its centerpiece is libplot, a powerful C/C++ function
|
|
|
a1679c |
library for exporting 2-D vector graphics in many file formats, both
|
|
|
a1679c |
vector and raster. It can also do vector graphics animations. Besides
|
|
|
a1679c |
libplot, the package contains command-line programs for plotting
|
|
|
a1679c |
scientific data. Many of them use libplot to export graphics
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%package devel
|
|
|
a1679c |
Summary: Headers for developing programs that will use %{name}
|
|
|
a1679c |
Requires: %{name} = %{version}-%{release}
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%description devel
|
|
|
a1679c |
This package contains the header files needed for developing %{name}
|
|
|
a1679c |
applications
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%prep
|
|
|
a1679c |
%setup -q
|
|
|
a1679c |
%patch0 -p1 -b .png15
|
|
|
a1679c |
%patch1 -p1 -b .aarch64
|
|
|
a1679c |
%patch2 -p1 -b .format-security
|
|
|
a1679c |
|
|
|
a1679c |
%build
|
|
|
a1679c |
%configure --disable-static --enable-libplotter --enable-libxmi --enable-ps-fonts-in-pcl
|
|
|
a1679c |
|
|
|
a1679c |
# fix rpath handling
|
|
|
a1679c |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
a1679c |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
a1679c |
|
|
|
a1679c |
make %{?_smp_mflags}
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%install
|
|
|
a1679c |
rm -rf docs-to-include
|
|
|
a1679c |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
a1679c |
mkdir docs-to-include
|
|
|
a1679c |
mv ${RPM_BUILD_ROOT}%{_datadir}/ode docs-to-include
|
|
|
a1679c |
mv ${RPM_BUILD_ROOT}%{_datadir}/pic2plot docs-to-include
|
|
|
a1679c |
mv ${RPM_BUILD_ROOT}%{_datadir}/libplot docs-to-include
|
|
|
a1679c |
mv ${RPM_BUILD_ROOT}%{_datadir}/tek2plot docs-to-include
|
|
|
a1679c |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
a1679c |
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%post
|
|
|
a1679c |
/sbin/install-info %{_infodir}/libxmi.info %{_infodir}/dir || :
|
|
|
a1679c |
/sbin/install-info %{_infodir}/plotutils.info %{_infodir}/dir || :
|
|
|
a1679c |
/sbin/ldconfig
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%preun
|
|
|
a1679c |
if [ $1 = 0 ]; then
|
|
|
a1679c |
/sbin/install-info --delete %{_infodir}/libxmi.info %{_infodir}/dir || :
|
|
|
a1679c |
/sbin/install-info --delete %{_infodir}/plotutils.info %{_infodir}/dir || :
|
|
|
a1679c |
fi
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%postun -p /sbin/ldconfig
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%files
|
|
|
a1679c |
%defattr(-, root, root, -)
|
|
|
a1679c |
%doc AUTHORS COMPAT COPYING NEWS THANKS README PROBLEMS KNOWN_BUGS
|
|
|
a1679c |
%doc docs-to-include/*
|
|
|
a1679c |
%{_bindir}/graph
|
|
|
a1679c |
%{_bindir}/ode
|
|
|
a1679c |
%{_bindir}/double
|
|
|
a1679c |
%{_bindir}/plot
|
|
|
a1679c |
%{_bindir}/pic2plot
|
|
|
a1679c |
%{_bindir}/plotfont
|
|
|
a1679c |
%{_bindir}/spline
|
|
|
a1679c |
%{_bindir}/tek2plot
|
|
|
a1679c |
%{_bindir}/hersheydemo
|
|
|
a1679c |
%{_libdir}/*.so.*
|
|
|
a1679c |
%{_mandir}/man1/*
|
|
|
a1679c |
%{_infodir}/*.info*
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%files devel
|
|
|
a1679c |
%doc TODO
|
|
|
a1679c |
%{_includedir}/*.h
|
|
|
a1679c |
%{_libdir}/*.so
|
|
|
a1679c |
|
|
|
a1679c |
|
|
|
a1679c |
%changelog
|
|
|
a1679c |
* Mon Feb 19 2018 Michael Simacek <msimacek@redhat.com> - 2.6-20
|
|
|
a1679c |
- Add BR on gcc-c++ and make
|
|
|
a1679c |
- Remove deprecated Group tag
|
|
|
a1679c |
|
|
|
a1679c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-19
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-17
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-16
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-15
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-14
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.6-13
|
|
|
a1679c |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
a1679c |
|
|
|
a1679c |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-12
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-11
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Wed Dec 04 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-10
|
|
|
a1679c |
- Fix FTBFS when "-Werror=format-security" is used
|
|
|
a1679c |
|
|
|
a1679c |
* Tue Nov 26 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-9
|
|
|
a1679c |
- Apply aarch64 support patch (#926356)
|
|
|
a1679c |
|
|
|
a1679c |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-8
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-7
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-6
|
|
|
a1679c |
- Fix license tag (upstream relicensed in version 2.5.1)
|
|
|
a1679c |
|
|
|
a1679c |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Mar 22 2012 Tom Callaway <spot@fedoraproject.org> - 2.6-4
|
|
|
a1679c |
- fix build against libpng15
|
|
|
a1679c |
|
|
|
a1679c |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-3
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.6-2
|
|
|
a1679c |
- Rebuild for new libpng
|
|
|
a1679c |
|
|
|
a1679c |
* Wed Mar 2 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.6-1
|
|
|
a1679c |
- Update to 2.6
|
|
|
a1679c |
|
|
|
a1679c |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
|
|
|
a1679c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5-5
|
|
|
a1679c |
- Autorebuild for GCC 4.3
|
|
|
a1679c |
|
|
|
a1679c |
* Mon Aug 20 2007 Denis Leroy <denis@poolshark.org> - 2.5-4
|
|
|
a1679c |
- License tag update
|
|
|
a1679c |
|
|
|
a1679c |
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 2.5-3
|
|
|
a1679c |
- FE6 Rebuild
|
|
|
a1679c |
|
|
|
a1679c |
* Thu Aug 10 2006 Denis Leroy <denis@poolshark.org> - 2.5-2
|
|
|
a1679c |
- Some reformatting, added ldconfig Req
|
|
|
a1679c |
|
|
|
a1679c |
* Wed Aug 9 2006 Denis Leroy <denis@poolshark.org> - 2.5-1
|
|
|
a1679c |
- Initial version
|