[meego-commits] 8840: New package Tools:SDK:Host/mpc

jackiewu no_reply at build.meego.com
Tue Oct 26 08:52:30 UTC 2010


Hi,
Adding new package mpc in project Tools:SDK:Host. Please review and accept ASAP.

Justification for this new package:

MeeGo SDK packages-missing mpc for openSUSE and Ubuntu

Thank You,
jackiewu

[This message was auto-generated]

---

Request #8840:

  submit:   devel:tools:sdk:host/mpc(r2) -> Tools:SDK:Host/mpc


Message:
    MeeGo SDK packages-missing mpc for openSUSE and Ubuntu

State:   new          2010-10-26T01:52:30 jackiewu
Comment: None


This is a NEW package in Tools:SDK:Host project.
The files in the new package:
mpc/
  |__  debian.tar.gz
  |__  mpc-0.8.1-rpmlintrc
  |__  mpc-0.8.1.tar.gz
  |__  mpc-Ubuntu.changes
  |__  mpc-openSUSE_11.2-rpmlintrc
  |__  mpc-openSUSE_11.2.changes
  |__  mpc-openSUSE_11.2.spec
  |__  mpc.changes
  |__  mpc.dsc
  |__  mpc.spec
  |__  mpc.yaml

The content of the YAML file, mpc.yaml:
===================================================================
Name: mpc
Summary: "A multiprecision library"
Version: 0.8.1
Release: 2
Group: Development/Libraries
License: LGPL2.1
URL: http://www.multiprecision.org/
Sources:
    - http://www.multiprecision.org/mpc/download/%{name}-%{version}.tar.gz
Description: |
    Mpc is a C library for the arithmetic of complex numbers with arbitrarily 
    high precision and correct rounding of the result. It is built upon and 
    follows the same principles as Mpfr. The library is written by Andreas 
    Enge, Philippe Theveny and Paul Zimmermann and is distributed under r the
    Gnu Lesser General Public License, either version 2.1 of the licence, or 
    (at your option) any later version.

PkgBR:
    - gmp-devel
    - mpfr-devel
Builder: none
SubPackages:
    - Name: devel
      Summary: Development tools for the MPC Library
      Group: Development/Libraries
      Description: |
          The header files, documentation and static libraries for developing
          applications using the MPC Library.
      Requires:
          - "%{name} = %{version}-%{release}, gmp-devel, mpfr-devel"
 



===================================================================


The content of the spec file, mpc.spec:
===================================================================
# 
# Do not Edit! Generated by:
# spectacle version 0.17
# 
# >> macros
# << macros

Name:       mpc
Summary:    A multiprecision library
Version:    0.8.1
Release:    2
Group:      Development/Libraries
License:    LGPL2.1
URL:        http://www.multiprecision.org/
Source0:    http://www.multiprecision.org/mpc/download/%{name}-%{version}.tar.gz
Source100:  mpc.yaml
Requires(post): /sbin/install-info
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/install-info
Requires(postun): /sbin/ldconfig
BuildRequires:  gmp-devel
BuildRequires:  mpfr-devel


%description
Mpc is a C library for the arithmetic of complex numbers with arbitrarily 
high precision and correct rounding of the result. It is built upon and 
follows the same principles as Mpfr. The library is written by Andreas 
Enge, Philippe Theveny and Paul Zimmermann and is distributed under r the
Gnu Lesser General Public License, either version 2.1 of the licence, or 
(at your option) any later version.



%package devel
Summary:    Development tools for the MPC Library
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}
Requires:   %{name} = %{version}-%{release}, gmp-devel, mpfr-devel

%description devel
The header files, documentation and static libraries for developing
applications using the MPC Library.



%prep
%setup -q -n %{name}-%{version}

# >> setup
# << setup

%build
# >> build pre
# << build pre

%configure --disable-static

# >> build post
make
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre

# >> install post
%make_install
# << install post



%post
/sbin/ldconfig
%install_info --info-dir=%_infodir /usr/share/info/mpc.info.gz

%postun
/sbin/ldconfig
if [ $1 = 0 ] ;then
%install_info_delete --info-dir=%{_infodir} /usr/share/info/mpc.info.gz
fi





%files
%defattr(-,root,root,-)
# >> files
/usr/lib/libmpc.so
/usr/lib/libmpc.so.2
/usr/lib/libmpc.so.2.0.0
/usr/share/info/mpc.info.gz
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
/usr/include/mpc.h
# << files devel


===================================================================




More information about the MeeGo-commits mailing list