File libcompizconfig.spec of Package libcompizconfig
#
# spec file for package libcompizconfig (Version 0.7.8)
#
# Copyright (c) 2009 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: libcompizconfig
BuildRequires: autoconf automake compiz-devel compiz-gnome gcc-c++ glib2-devel intltool libtool libxslt-devel perl-XML-Parser pkg-config
BuildRequires: startup-notification-devel
Url: http://opencompositing.org
License: GPL v2 or later
Group: System/X11/Utilities
PreReq: %fillup_prereq
Requires: compiz
Version: 0.7.8
Release: 7
Provides: ccs-lib = %{version}
Obsoletes: ccs-lib <= %{version}
Summary: CompizConfig plugin(ccp) required for compizconfig-settings-manager(ccsm)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64
Source: %name-%version.tar.bz2
Source1: libcompizconfig-rpmlintrc
# PATCH-FEATURE-UPSTREAM libcompizconfig-NOMAD.diff dreveman@novell.com
Patch: libcompizconfig-NOMAD.diff
# PATCH-FIX-UPSTREAM libcompizconfig-config-dir.patch bnc#438081 rodrigo@novell.com
Patch2: libcompizconfig-config-dir.patch
# PATCH-FIX-UPSTREAM libcompizconfig-linkX11.patch bnc#525691 dominique-obs@leuenberger.net -- Properly link against libX11 for missing symbols.
Patch3: libcompizconfig-linkX11.patch
%description
CompizConfig plugin(ccp) required for
compizconfig-settings-manager(ccsm).
%package devel
License: GPL v2 or later
Summary: Development files for libcompizconfig
Group: Development/Libraries/C and C++
Requires: autoconf automake compiz-devel compiz-gnome glib2-devel intltool libtool libxslt-devel perl-XML-Parser pkg-config %name = %version
AutoReqProv: on
%description devel
CompizConfig plugin(ccp) required for
compizconfig-settings-manager(ccsm)
This package contains development files.
%prep
%setup -q -n libcompizconfig-%{version}
%patch -p1
%patch2 -p1
%patch3
%build
#
####libcompizconfig
#
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
%makeinstall
find %buildroot \( -name \*.la \) -print0 | xargs -0 rm -fv
%clean
%__rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/compiz*
%{_libdir}/libcompizconfig*.so.*
%{_datadir}/compizconfig
%dir %{_datadir}/compiz
%{_datadir}/compiz/ccp.xml
%dir /etc/compizconfig
/etc/compizconfig/config
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/libcompizconfig.pc
%{_includedir}/*
%{_libdir}/libcompizconfig*.so
%changelog