Sophie

Sophie

distrib > Mageia > 3 > x86_64 > media > core-release-src > by-pkgid > 8c3a0045d27d5e51857310810407c42f > files > 2

gnome-desktop-2.32.1-3.mga3.src.rpm

%define	api_version	2
%define	lib_major	17
%define	libname		%mklibname %{name}-%{api_version}_ %{lib_major}
%define	libnamedev	%mklibname -d %{name}-%{api_version}

%define req_startup_notification_version 0.5

Summary:		Package containing code shared among gnome-panel, gnome-session, nautilus, etc
Name:			gnome-desktop
Version:		2.32.1
Release:		%mkrel 3
License:		GPLv2+ and LGPLv2+
Group:			Graphical desktop/GNOME
Source0:		http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/%{name}-%{version}.tar.bz2
URL:			http://www.gnome.org
BuildRequires:		startup-notification-devel >= %{req_startup_notification_version}
BuildRequires:		gtk+2-devel >= 2.14.0
BuildRequires:		glib2-devel >= 2.19.1
BuildRequires:		libGConf2-devel
BuildRequires:		gtk-doc
BuildRequires:		scrollkeeper
BuildRequires:		gnome-doc-utils >= 0.3.2
BuildRequires:		libxslt-proc
BuildRequires:		intltool >= 0.40.0
BuildRequires:		ldetect-lst

%description
This package contains some data files and other shared components of the
GNOME user environment.

%files
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/gnome-about
%{_datadir}/applications/*
%{_datadir}/pixmaps/*

#--------------------------------------------------------------------

%package -n %{libname}
Summary:	%{summary}
Group:		System/Libraries
Requires:	%{name}-common >= %{version}-%{release}
Provides:	%{name}-%{api_version} = %{version}-%{release}
Requires:	libstartup-notification-1 >= %{req_startup_notification_version}

%description -n %{libname}
This package contains an internal library
(libgnomedesktop) used to implement some portions of the GNOME
desktop.

%files -n %{libname}
%{_libdir}/libgnome-desktop-%{api_version}.so.%{lib_major}*

#--------------------------------------------------------------------

%package -n %{libnamedev}
Summary:	Static libraries, include files for gnome-desktop
Group:		Development/GNOME and GTK+
Provides:	%{name}-devel = %{version}-%{release}
Provides:	lib%{name}-%{api_version}-devel = %{version}-%{release}
Requires:	%{libname} = %{version}
Requires:   libstartup-notification-1-devel >= %{req_startup_notification_version}
Obsoletes: %mklibname -d %{name}-2_ 2

%description -n %{libnamedev}
Static libraries, include files for internal library libgnomedesktop.

%files -n %{libnamedev}
%{_includedir}/*
%{_libdir}/*.so 
%{_libdir}/pkgconfig/*
%doc %_datadir/gtk-doc/html/*

#--------------------------------------------------------------------

%package common
Summary: Data files needed by libgnomedesktop library
Group:	%{group}
Requires: ldetect-lst >= 0.1.282

%description common
Data files needed by libgnomedesktop library.

%files common -f %{name}-2.0.lang

#--------------------------------------------------------------------

%prep
%setup -q

%build

%configure2_5x --with-gnome-distributor="%vendor" --disable-scrollkeeper --with-pnp-ids-path=%{_datadir}/misc/pnp.ids --disable-static

%make LIBS=-lm


%install
rm -rf $RPM_BUILD_ROOT %{name}-2.0.lang

GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std 
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang %{name}-2.0

# already shipped in gnome-desktop3
rm -rf $RPM_BUILD_ROOT/usr/share/omf
rm -rf $RPM_BUILD_ROOT/usr/share/gnome/help



%changelog

* Sat Jan 12 2013 umeabot <umeabot> 2.32.1-3.mga3
+ Revision: 352082
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + ovitters <ovitters>
    - clean spec file

* Tue Jun 28 2011 dmorgan <dmorgan> 2.32.1-2.mga2
+ Revision: 115521
- Allow to install at the same time as gnome3

* Sat Jan 15 2011 blino <blino> 2.32.1-1.mga2
+ Revision: 19074
- remove old ldconfig scriptlets and conflicts
- imported package gnome-desktop