restore/trim descriptions
OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=52
This commit is contained in:
parent
9952a3dbee
commit
b7de9dd35d
29
pari.spec
29
pari.spec
@ -17,12 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
%global desc \
|
%global desc \
|
||||||
PARI/GP is a computer algebra system designed for fast computations\
|
PARI/GP is a computer algebra system designed for computations\
|
||||||
in number theory (factorizations, algebraic number theory, elliptic\
|
in number theory (factorizations, algebraic number theory, elliptic\
|
||||||
curves), but also contains a large number of other useful functions\
|
curves) and other entities like matrices, polynomials,\
|
||||||
to compute with mathematical entities such as matrices, polynomials,\
|
power series, algebraic numbers, and transcendental functions.\
|
||||||
power series, algebraic numbers etc., and a lot of transcendental\
|
|
||||||
functions.\
|
|
||||||
%nil
|
%nil
|
||||||
# See
|
# See
|
||||||
# http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html
|
# http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html
|
||||||
@ -42,7 +40,7 @@ Source0: %url/pub/pari/unix/pari-%version.tar.gz
|
|||||||
Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc
|
Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc
|
||||||
BuildRequires: fltk-devel
|
BuildRequires: fltk-devel
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: texlive-luatex
|
BuildRequires: texlive-luatex
|
||||||
@ -56,24 +54,24 @@ BuildRequires: pkgconfig(x11)
|
|||||||
%desc
|
%desc
|
||||||
|
|
||||||
%package gp
|
%package gp
|
||||||
Summary: Frontend to the PARI CAS
|
Summary: Frontend to the PARI Computer Algebra System
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
|
|
||||||
%description gp
|
%description gp
|
||||||
%desc
|
%desc
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for the PARI CAS
|
Summary: Documentation for the PARI Computer Algebra System
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
%desc
|
%desc
|
||||||
|
|
||||||
This package contains the documentation and examples for the PARI CAS.
|
This package contains the documentation and examples for the PARI Computer Algebra System.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Shared library for the PARI CAS
|
Summary: Shared library for the PARI Computer Algebra System
|
||||||
# This is used by the data packages to avoid having a too-old version of libpari:
|
# This is used by the data packages to avoid having a too-old version of libpari:
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libpari-gmp = %version
|
Provides: libpari-gmp = %version
|
||||||
@ -81,22 +79,22 @@ Provides: libpari-gmp = %version
|
|||||||
%description -n %lname
|
%description -n %lname
|
||||||
%desc
|
%desc
|
||||||
|
|
||||||
This package contains shared library for the PARI CAS.
|
This package contains shared library for the PARI Computer Algebra System.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the PARI CAS
|
Summary: Development files for the PARI Computer Algebra System
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
%desc
|
%desc
|
||||||
|
|
||||||
This package contains development files for the PARI CAS.
|
This package contains development files for the PARI Computer Algebra System.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
# Kill __DATE__ from source, it’s pointless and can cause rebuilds.
|
# Kill __DATE__ from source, it’s pointless and can cause rebuilds.
|
||||||
sed -i -e 's/__DATE__/"%_repository"/' src/language/paricfg.c
|
sed -i -e 's/__DATE__/"today"/' src/language/paricfg.c
|
||||||
# Set proprer page dimensions
|
# Set proprer page dimensions
|
||||||
sed -i -e '27 i \\\else\\\pagewidth=11.69in\\\pageheight=8.26in' doc/refmacro.tex
|
sed -i -e '27 i \\\else\\\pagewidth=11.69in\\\pageheight=8.26in' doc/refmacro.tex
|
||||||
# Don’t build DVI docs
|
# Don’t build DVI docs
|
||||||
@ -133,7 +131,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
|||||||
|
|
||||||
%files gp
|
%files gp
|
||||||
%doc AUTHORS CHANGES* README* NEW
|
%doc AUTHORS CHANGES* README* NEW
|
||||||
%license COPYING
|
|
||||||
%config %_sysconfdir/gprc
|
%config %_sysconfdir/gprc
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_datadir/%name
|
%_datadir/%name
|
||||||
@ -141,7 +138,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
|||||||
%_mandir/man1/*.1%{?ext_man}
|
%_mandir/man1/*.1%{?ext_man}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license COPYING
|
|
||||||
%_defaultdocdir/%name
|
%_defaultdocdir/%name
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
@ -150,7 +146,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
|||||||
%_libdir/libpari-gmp-tls.so.%sover
|
%_libdir/libpari-gmp-tls.so.%sover
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
|
||||||
%_includedir/%name
|
%_includedir/%name
|
||||||
%_libdir/libpari.so
|
%_libdir/libpari.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user