ALT Linux repositories

Sisyphus: | 1:3.0.0-alt2 |
p8: | 1:3.0.0-alt1 |
p7: | 1:2.4.1-alt1 |
t7: | 1:2.6.5-alt1.0.M70T.1 |
t6: | 1:2.6.5-alt1.0.M60T.1 |
Group :: Sciences/Mathematics
Source RPM: octave-control
Main Changelog Spec Patches Sources Download Gear Bugs and FR (0/0) Repocop
Raw spec file
# BEGIN SourceDeps(oneline):
BuildRequires: makeinfo texinfo
# END SourceDeps(oneline)
%def_with _octave_arch
%define octave_pkg_version 3.0.0
%define octave_pkg_name control
%define octave_descr_name control
Epoch: 1
Name: octave-%octave_pkg_name
Version: 3.0.0
Release: alt2
Summary: Computer-Aided Control System Design
Group: Sciences/Mathematics
License: GPLv3+
URL: http://octave.sf.net
Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{octave_pkg_name}-%{octave_pkg_version}.tar.gz
BuildRequires: octave-devel
%if_with _octave_arch
BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel
BuildRequires: libGL-devel libGLU-devel libGraphicsMagick-c++-devel libGraphicsMagick-devel fontconfig-devel libfreetype-devel libX11-devel libgl2ps-devel libcurl-devel libsuitesparse-devel libarpack-ng-devel libqrupdate-devel libpcre-devel
%else
BuildArch: noarch
%endif
Provides: octave(control) = %version
# Depends: octave (>= 3.8.0)
Requires: octave >= 3.8.0
%description
Octave-Forge - Extra packages for GNU Octave.
This package contains the %octave_descr_name GNU Octave extension.
Extension Description:
Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library
%prep
%setup -q -n %{octave_pkg_name}
%build
%define build_flags CXXFLAGS=$CXXFLAGS
%build_flags octave -H --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0"
%install
mkdir -p %buildroot%_datadir/octave/packages
mkdir -p %buildroot%_libdir/octave/packages
octave -H --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -verbose -local -nodeps %octave_pkg_name-%octave_pkg_version-$(octave -H --no-site-file --eval "printf([__octave_config_info__(\"canonical_host_type\"), \"-\", __octave_config_info__(\"api_version\")])").tar.gz"
%files
%_datadir/octave/packages/%octave_pkg_name-%octave_pkg_version
%if_with _octave_arch
%_libdir/octave/packages/%octave_pkg_name-%octave_pkg_version
%endif
%changelog
* Thu May 18 2017 Paul Wolneykien <manowar at altlinux.org> 1:3.0.0-alt2
- regenerated from template by package builder
* Sun Mar 27 2016 Anton Midyukov <antohami at altlinux.org> 1:3.0.0-alt1
- New version
- Added missing buildrequires.
* Thu Jun 18 2015 Gleb F-Malinovskiy <glebfm at altlinux.org> 1:2.6.5-alt1.1
- Rebuilt for gcc5 C++11 ABI.
* Wed Jul 02 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.6.5-alt1
- updated by octave-package-builder
* Tue Jan 14 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.6.1-alt1
- updated by octave-package-builder
* Tue Jan 14 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.5-alt2
- Rebuild with the next version of Octave: 3.8.0
* Thu Oct 10 2013 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.5-alt1
- updated by octave-package-builder
* Tue Jan 08 2013 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.1-alt1
- updated by octave-package-builder
* Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.1-alt1.1
- Built with OpenBLAS instead of GotoBLAS2
* Thu Nov 17 2011 Igor Vlasenko <viy at altlinux.ru> 2.2.1-alt1
- initial import by octave-package-builder
# BEGIN SourceDeps(oneline):
BuildRequires: makeinfo texinfo
# END SourceDeps(oneline)
%def_with _octave_arch
%define octave_pkg_version 3.0.0
%define octave_pkg_name control
%define octave_descr_name control
Epoch: 1
Name: octave-%octave_pkg_name
Version: 3.0.0
Release: alt2
Summary: Computer-Aided Control System Design
Group: Sciences/Mathematics
License: GPLv3+
URL: http://octave.sf.net
Source0: https://downloads.sourceforge.net/project/octave/Octave%%20Forge%%20Packages/Individual%%20Package%%20Releases/%{octave_pkg_name}-%{octave_pkg_version}.tar.gz
BuildRequires: octave-devel
%if_with _octave_arch
BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel
BuildRequires: libGL-devel libGLU-devel libGraphicsMagick-c++-devel libGraphicsMagick-devel fontconfig-devel libfreetype-devel libX11-devel libgl2ps-devel libcurl-devel libsuitesparse-devel libarpack-ng-devel libqrupdate-devel libpcre-devel
%else
BuildArch: noarch
%endif
Provides: octave(control) = %version
# Depends: octave (>= 3.8.0)
Requires: octave >= 3.8.0
%description
Octave-Forge - Extra packages for GNU Octave.
This package contains the %octave_descr_name GNU Octave extension.
Extension Description:
Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library
%prep
%setup -q -n %{octave_pkg_name}
%build
%define build_flags CXXFLAGS=$CXXFLAGS
%build_flags octave -H --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0"
%install
mkdir -p %buildroot%_datadir/octave/packages
mkdir -p %buildroot%_libdir/octave/packages
octave -H --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -verbose -local -nodeps %octave_pkg_name-%octave_pkg_version-$(octave -H --no-site-file --eval "printf([__octave_config_info__(\"canonical_host_type\"), \"-\", __octave_config_info__(\"api_version\")])").tar.gz"
%files
%_datadir/octave/packages/%octave_pkg_name-%octave_pkg_version
%if_with _octave_arch
%_libdir/octave/packages/%octave_pkg_name-%octave_pkg_version
%endif
%changelog
* Thu May 18 2017 Paul Wolneykien <manowar at altlinux.org> 1:3.0.0-alt2
- regenerated from template by package builder
* Sun Mar 27 2016 Anton Midyukov <antohami at altlinux.org> 1:3.0.0-alt1
- New version
- Added missing buildrequires.
* Thu Jun 18 2015 Gleb F-Malinovskiy <glebfm at altlinux.org> 1:2.6.5-alt1.1
- Rebuilt for gcc5 C++11 ABI.
* Wed Jul 02 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.6.5-alt1
- updated by octave-package-builder
* Tue Jan 14 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.6.1-alt1
- updated by octave-package-builder
* Tue Jan 14 2014 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.5-alt2
- Rebuild with the next version of Octave: 3.8.0
* Thu Oct 10 2013 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.5-alt1
- updated by octave-package-builder
* Tue Jan 08 2013 Paul Wolneykien <manowar at altlinux.ru> 1:2.4.1-alt1
- updated by octave-package-builder
* Sun Aug 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.1-alt1.1
- Built with OpenBLAS instead of GotoBLAS2
* Thu Nov 17 2011 Igor Vlasenko <viy at altlinux.ru> 2.2.1-alt1
- initial import by octave-package-builder