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 \
|
||||
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\
|
||||
curves), but also contains a large number of other useful functions\
|
||||
to compute with mathematical entities such as matrices, polynomials,\
|
||||
power series, algebraic numbers etc., and a lot of transcendental\
|
||||
functions.\
|
||||
curves) and other entities like matrices, polynomials,\
|
||||
power series, algebraic numbers, and transcendental functions.\
|
||||
%nil
|
||||
# See
|
||||
# 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
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-luatex
|
||||
@ -56,24 +54,24 @@ BuildRequires: pkgconfig(x11)
|
||||
%desc
|
||||
|
||||
%package gp
|
||||
Summary: Frontend to the PARI CAS
|
||||
Summary: Frontend to the PARI Computer Algebra System
|
||||
Group: Productivity/Scientific/Math
|
||||
|
||||
%description gp
|
||||
%desc
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the PARI CAS
|
||||
Summary: Documentation for the PARI Computer Algebra System
|
||||
Group: Documentation/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
%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
|
||||
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:
|
||||
Group: System/Libraries
|
||||
Provides: libpari-gmp = %version
|
||||
@ -81,22 +79,22 @@ Provides: libpari-gmp = %version
|
||||
%description -n %lname
|
||||
%desc
|
||||
|
||||
This package contains shared library for the PARI CAS.
|
||||
This package contains shared library for the PARI Computer Algebra System.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the PARI CAS
|
||||
Summary: Development files for the PARI Computer Algebra System
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
%desc
|
||||
|
||||
This package contains development files for the PARI CAS.
|
||||
This package contains development files for the PARI Computer Algebra System.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
# 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
|
||||
sed -i -e '27 i \\\else\\\pagewidth=11.69in\\\pageheight=8.26in' doc/refmacro.tex
|
||||
# Don’t build DVI docs
|
||||
@ -133,7 +131,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
||||
|
||||
%files gp
|
||||
%doc AUTHORS CHANGES* README* NEW
|
||||
%license COPYING
|
||||
%config %_sysconfdir/gprc
|
||||
%_bindir/*
|
||||
%_datadir/%name
|
||||
@ -141,7 +138,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
||||
%_mandir/man1/*.1%{?ext_man}
|
||||
|
||||
%files doc
|
||||
%license COPYING
|
||||
%_defaultdocdir/%name
|
||||
|
||||
%files -n %lname
|
||||
@ -150,7 +146,6 @@ mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
|
||||
%_libdir/libpari-gmp-tls.so.%sover
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%_includedir/%name
|
||||
%_libdir/libpari.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user