File mono-biarchcompat.spec of Package mono-biarchcompat

#
# spec file for package mono-biarchcompat (Version 1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           mono-biarchcompat
BuildRequires:  mono-core mono-devel mono-nunit
#!BuildIgnore:  mono-biarchcompat
Url:            http://go-mono.org/
License:        LGPL v2.1 or later
Group:          Development/Languages/Mono
Requires:       mono-devel
AutoReqProv:    on
Summary:        pkgconfig links for mono on other of biarch platforms
Version:        1.0
Release:        2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  ppc64

%description
pkgconfig links for mono on other of biarch platforms



Authors:
--------
    Miguel de Icaza <miguel@ximian.com>
    Paolo Molaro <lupus@ximian.com>
    Dietmar Maurer <dietmar@ximian.com>

%prep
echo "hi"

%build
echo "hi"

%install
install -d $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%if "%_lib" == "lib64"
ln -sf ../../lib/pkgconfig/dotnet.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
ln -sf ../../lib/pkgconfig/mono-cairo.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
ln -sf ../../lib/pkgconfig/mono.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
ln -sf ../../lib/pkgconfig/mono-nunit.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%else
ln -sf ../../lib64/pkgconfig/dotnet.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
ln -sf ../../lib64/pkgconfig/mono-cairo.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
ln -sf ../../lib64/pkgconfig/mono-nunit.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_libdir}/pkgconfig/*

%changelog
* Wed Oct 01 2008 ro@suse.de
- buildignore mono-biarchcompat
* Fri Mar 24 2006 ro@suse.de
- added mono-nunit to BuildRequires
* Thu Mar 23 2006 ro@suse.de
- added mono-nunit.pc
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 ro@suse.de
- created package
openSUSE Build Service is sponsored by