gnuplot/gnuplot.spec

290 lines
10 KiB
RPMSpec

Name: gnuplot
Version: 6.0.2
Release: 1mamba
Summary: Command-line driven interactive datafile and function plotting utility
Group: Applications/Mathematics
Distribution: openmamba
Vendor: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnuplot.info
Source0: http://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/gnuplot-%{version}.tar.gz
Source1: %{name}-icon.png
Source2: ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot.pdf.gz
Patch0: gnuplot-4.6.2-texinfo-5.patch
Patch1: gnuplot-4.6.3-lua-5.1.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6PrintSupport
BuildRequires: libQt6Widgets
BuildRequires: libX11-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libgcc
BuildRequires: libgd-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblua-devel
BuildRequires: libncurses-devel
BuildRequires: libpango-devel
BuildRequires: libreadline-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwebp-devel
BuildRequires: libz-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtsvg-devel
BuildRequires: wxwidgets-devel
BuildRequires: wxwidgets-gtk3-devel
## AUTOBUILDREQ-END
BuildRequires: libwx_gtk3u-devel >= 0:3.2.0-1mamba
BuildRequires: tetex
BuildRequires: tetex-latex
BuildRequires: tetex-dvips
BuildRequires: groff >= 1.19.2
BuildRequires: texinfo >= 4.8
BuildRequires: emacs >= 21.4
Requires(post):%{__install_info}
# FIXME :
# checking for pdflib-config... no
# checking for PDF_get_majorversion in -lpdf... no
%description
Gnuplot is a portable command-line driven interactive datafile (text or binary) and function plotting utility for UNIX, IBM OS/2, MS Windows, DOS, Apple Macintosh, VMS, Atari and many other platforms.
It was originally intended as graphical program which would allow scientists and students to visualize mathematical functions and data.
It does this job pretty well, and in addition it serves as non-interactive plotting engine for miscellaneous portable third-party applications, like Octave.
Gnuplot is developed and supported since 1986, and having its scripts and commands easy to understand text files, it is time-portable as well.
%package doc
Group: Documentation
Summary: Gnuplot documentation
%description doc
Gnuplot is a portable command-line driven interactive datafile (text or binary) and function plotting utility for UNIX, IBM OS/2, MS Windows, DOS, Apple Macintosh, VMS, Atari and many other platforms.
It was originally intended as graphical program which would allow scientists and students to visualize mathematical functions and data.
It does this job pretty well, and in addition it serves as non-interactive plotting engine for miscellaneous portable third-party applications, like Octave.
This package contains the gnuplot manual in PDF format.
%debug_package
%prep
%setup -q
cp %{SOURCE2} .
#%patch0 -p1
#%patch1 -p1
%build
#autoreconf
%configure \
WX_CONFIG=%{_bindir}/wx-config-unicode-3 \
--with-texdir=%{_datadir}/texmf/tex/latex/gnuplot
%make
make -C docs/psdoc || make -C docs/psdoc
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/gnuplot.png
# create the system menu entry
install -d %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=Gnuplot
GenericName=Function plotting utility
GenericName[it]=Strumento per generare grafici
Comment=Function plotting utility
Comment[it]=Strumento per disegnare e generare grafici
Exec=konsole --notoolbar --nomenubar -e gnuplot
Icon=%{_datadir}/pixmaps/gnuplot.png
Type=Application
X-KDE-StartupNotify=false
Categories=Utility;
EOF
%find_lang %{name} --with-man
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
#% post
#% install_info %{name}.info
#% preun
#% uninstall_info %{name}.info
#exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gnuplot
%{_datadir}/applications/%{name}.desktop
%{_libexecdir}/*
%{_datadir}/gnuplot/*
%{_datadir}/pixmaps/gnuplot.png
%dir %{_datadir}/texmf/tex/latex/gnuplot
%{_datadir}/texmf/tex/latex/gnuplot/*
%{_mandir}/man1/gnuplot.1*
%doc Copyright
%files doc
%defattr(-,root,root)
%doc gnuplot.pdf.gz
%doc README NEWS
%doc docs/psdoc/ps_*
%changelog
* Sun Dec 22 2024 Automatic Build System <autodist@openmamba.org> 6.0.2-1mamba
- automatic version update by autodist
* Fri May 31 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
- automatic version update by autodist
* Tue Jan 02 2024 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
- automatic version update by autodist
* Sun Oct 22 2023 Automatic Build System <autodist@mambasoft.it> 5.4.10-1mamba
- automatic version update by autodist
* Wed Sep 06 2023 Automatic Build System <autodist@mambasoft.it> 5.4.9-1mamba
- automatic version update by autodist
* Fri Jun 09 2023 Automatic Build System <autodist@mambasoft.it> 5.4.8-1mamba
- automatic version update by autodist
* Mon May 22 2023 Automatic Build System <autodist@mambasoft.it> 5.4.7-1mamba
- automatic version update by autodist
* Sat Feb 11 2023 Automatic Build System <autodist@mambasoft.it> 5.4.6-1mamba
- automatic version update by autodist
* Mon Oct 03 2022 Automatic Build System <autodist@mambasoft.it> 5.4.5-1mamba
- automatic version update by autodist
* Mon Aug 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.4-2mamba
- rebuilt by autoport with build requirements: libwx_gtk3u-devel>=0:3.2.0-1mamba
* Mon Jul 18 2022 Automatic Build System <autodist@mambasoft.it> 5.4.4-1mamba
- automatic version update by autodist
* Wed Jan 05 2022 Automatic Build System <autodist@mambasoft.it> 5.4.3-1mamba
- automatic version update by autodist
* Sun Aug 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.2-2mamba
- rebuilt with wxWidgets 3.1
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 5.4.2-1mamba
- automatic version update by autodist
* Sun Dec 06 2020 Automatic Build System <autodist@mambasoft.it> 5.4.1-1mamba
- automatic version update by autodist
* Sat Jul 25 2020 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
- automatic version update by autodist
* Mon Dec 02 2019 Automatic Build System <autodist@mambasoft.it> 5.2.8-1mamba
- automatic version update by autodist
* Sat Jun 01 2019 Automatic Build System <autodist@mambasoft.it> 5.2.7-1mamba
- automatic version update by autodist
* Sat Jan 05 2019 Automatic Build System <autodist@mambasoft.it> 5.2.6-1mamba
- automatic version update by autodist
* Wed Oct 10 2018 Automatic Build System <autodist@mambasoft.it> 5.2.5-1mamba
- automatic version update by autodist
* Sun Jun 10 2018 Automatic Build System <autodist@mambasoft.it> 5.2.4-1mamba
- automatic version update by autodist
* Sun May 20 2018 Automatic Build System <autodist@mambasoft.it> 5.2.3-1mamba
- automatic version update by autodist
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 5.2.2-1mamba
- automatic version update by autodist
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
- automatic version update by autodist
* Tue Mar 28 2017 Automatic Build System <autodist@mambasoft.it> 5.0.6-1mamba
- automatic version update by autodist
* Sun Nov 06 2016 Automatic Build System <autodist@mambasoft.it> 5.0.5-1mamba
- automatic version update by autodist
* Wed Aug 03 2016 Automatic Build System <autodist@mambasoft.it> 5.0.4-1mamba
- automatic version update by autodist
* Thu Apr 21 2016 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic version update by autodist
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 5.0.2-1mamba
- automatic version update by autodist
* Thu Sep 17 2015 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Tue Apr 21 2015 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Tue Oct 21 2014 Automatic Build System <autodist@mambasoft.it> 4.6.6-1mamba
- automatic update by autodist
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 4.6.5-1mamba
- automatic version update by autodist
* Thu Oct 17 2013 Automatic Build System <autodist@mambasoft.it> 4.6.4-1mamba
- automatic update by autodist
* Tue Jun 11 2013 Automatic Build System <autodist@mambasoft.it> 4.6.3-1mamba
- automatic version update by autodist
* Fri May 10 2013 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
- automatic version update by autodist
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic version update by autodist
* Sun Jul 08 2012 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
- update to 4.6.0
* Sat Mar 05 2011 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba
- automatic update by autodist
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
- automatic update by autodist
* Sun Sep 06 2009 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
- automatic update by autodist
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.5-1mamba
- automatic update by autodist
* Thu Jan 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.4-1mamba
- automatic update by autodist
* Mon Jun 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.3-1mamba
- update to 4.2.3
* Tue Oct 04 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.0.0-3qilnx
- specfile updates
- fixed package group
- install/uninstall info pages
- desktop file rewritten
- do not install all the stuff find in docs/, just install documentation
- new package doc with the PDF manual
* Fri Apr 15 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 4.0.0-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Mon Sep 27 2004 Matteo Bernasconi <voyagernm@virgilio.it> 4.0.0-1qilnx
- first build