A new user interface for you! Read more...

File gnome-desktop-sharp2.spec of Package gnome-desktop-sharp2

#
# spec file for package gnome-desktop-sharp2
#
# Copyright (c) 2013 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/
#


Name:           gnome-desktop-sharp2
%define _name gnome-desktop-sharp
Url:            http://mono-project.com
Summary:        Mono bindings for libgnome-desktop
License:        LGPL-2.1
Group:          System/GUI/GNOME
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gapi-2.0)
BuildRequires:  pkgconfig(gnome-desktop-2.0)
BuildRequires:  pkgconfig(gnome-sharp-2.0)
BuildRequires:  pkgconfig(gtksourceview-2.0)
BuildRequires:  pkgconfig(libgnomeprint-2.2)
BuildRequires:  pkgconfig(libgnomeprintui-2.2)
BuildRequires:  pkgconfig(librsvg-2.0)
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:  pkgconfig(mono)
BuildRequires:  pkgconfig(monodoc)
BuildRequires:  pkgconfig(vte)
Version:        2.26.0
Release:        0
Source:         %{_name}-%{version}.tar.bz2
Patch1:         gnome-desktop-version-11.3.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libgnome-desktop-2-17

%description
Mono bindings for libgnome-desktop



Authors:
--------
    Mike Kestner <mkestner@novell.com

%package -n gtksourceview2-sharp
Summary:        Mono bindings for gtksourceview2
License:        LGPL-2.1
Group:          System/GUI/GNOME
Requires:       libgtksourceview2sharpglue-2.so
Provides:       libgtksourceview2sharpglue-2.so

%description -n gtksourceview2-sharp
Mono bindings for gtksourceview2



Authors:
--------
    Mike Kestner <mkestner@novell.com>

%package -n rsvg2-sharp
Summary:        Mono bindings for rsvg
License:        LGPL-2.1
Group:          System/GUI/GNOME

%description -n rsvg2-sharp
This package contains Mono bindings for librsvg.



%package -n gtkhtml314-sharp
Summary:        Mono bindings for gtkhtml
License:        LGPL-2.1
Group:          System/GUI/GNOME
Requires:       libgtkhtmlsharpglue-2.so
Provides:       libgtkhtmlsharpglue-2.so

%description -n gtkhtml314-sharp
This package contains Mono bindings for gtkhtml.



%package -n wnck-sharp
Summary:        Mono bindings for wnck
License:        LGPL-2.1
Group:          System/GUI/GNOME
Requires:       libwncksharpglue-2.so
Provides:       libwncksharpglue-2.so
Requires:       libwnck-1-22

%description -n wnck-sharp
Mono bindings for wnck



Authors:
--------
    Mike Kestner <mkestner@novell.com>

%package -n vte016-sharp
Summary:        Mono bindings for vte
License:        GPL-2.0 and LGPL-2.1
Group:          System/GUI/GNOME
Requires:       libvtesharpglue-2.so
Provides:       libvtesharpglue-2.so

%description -n vte016-sharp
This package contains Mono bindings for vte.

%package -n gnome-print-sharp
Summary:        Mono bindings for gnome-print
License:        LGPL-2.1
Group:          System/GUI/GNOME

%description -n gnome-print-sharp
Mono bindings for gnome-print



Authors:
--------
    Mike Kestner <mkestner@novell.com


%prep
%setup -q -n %{_name}-%{version}
%patch1

%build
%{?env_options}
# FIXME: windowmanager.c:*: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
	--libexecdir=%{_prefix}/lib\
	--enable-debug
make

%install
%{?env_options}
make install DESTDIR=%buildroot
rm $RPM_BUILD_ROOT%{_libdir}/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_libdir}/pkgconfig/gnome-desktop-sharp-2.0.pc
%{_prefix}/lib/mono/gac/*gnomedesktop-sharp
%{_prefix}/lib/mono/gnomedesktop-sharp-2.20
%dir %{_prefix}/share/gnomedesktop-sharp
%{_prefix}/share/gnomedesktop-sharp/2.20

%files -n gtksourceview2-sharp
%defattr(-,root,root)
%{_libdir}/pkgconfig/gtksourceview2-sharp.pc
%{_prefix}/lib/mono/gac/*gtksourceview2-sharp
%{_prefix}/lib/mono/gtksourceview2-sharp-2.0
%dir %{_prefix}/share/gtksourceview2-sharp
%{_prefix}/share/gtksourceview2-sharp/2.0
%{_libdir}/libgtksourceview2sharpglue-2.so

%files -n rsvg2-sharp
%defattr(-,root,root)
%{_libdir}/pkgconfig/rsvg2-sharp-2.0.pc
%{_prefix}/lib/mono/gac/*rsvg2-sharp
%{_prefix}/lib/mono/rsvg2-sharp-2.0
%dir %{_prefix}/share/rsvg2-sharp
%{_prefix}/share/rsvg2-sharp/2.0

%files -n vte016-sharp
%defattr(-, root, root)
%{_libdir}/libvtesharpglue-2.so
%{_libdir}/pkgconfig/vte-sharp-0.16.pc
%{_prefix}/lib/mono/gac/*vte-sharp
%{_prefix}/lib/mono/vte-sharp-0.16
%dir %{_prefix}/share/vte-sharp
%{_prefix}/share/vte-sharp/0.16

%files -n wnck-sharp
%defattr(-, root, root)
%{_libdir}/pkgconfig/wnck-sharp-1.0.pc
%{_prefix}/lib/mono/gac/*wnck-sharp
%{_prefix}/lib/mono/wnck-sharp-2.20
%dir %{_prefix}/share/wnck-sharp
%{_prefix}/share/wnck-sharp/2.20
%{_libdir}/libwncksharpglue-2.so

%files -n gnome-print-sharp
%defattr(-, root, root)
%{_libdir}/pkgconfig/gnome-print-sharp-2.18.pc
%{_prefix}/lib/mono/gac/gnome-print-sharp
%{_prefix}/lib/mono/gnome-print-sharp-2.18
%dir %{_prefix}/share/gnome-print-sharp
%{_prefix}/share/gnome-print-sharp/2.18
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq'
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq'

%changelog