17
0
Files
python-compizconfig/python-compizconfig.spec
Kai-Uwe Behrmann dbc3f0f2c9 - remove %fillup_prereq, %py_requires macros
- remove ExclusiveArch: tag

- correct license format

- add the requirement for compiz with a version less than 0.9

- Drop pkg-config file. We do not offer libs or anything else here.

- Update to version 0.8.4
  + Reorder option types for consitency with compiz
  + SortSingleStringSetting fills the string restriction info
- spec file cleaned using spec-cleaner.

- Review and merge changes from X11:Compiz

- Release 0.7.8 
- Handle lack of animation plugin
- Add support for restricted string options and extensions 

- Update from buildservice.

- Keep it in sync with compiz 0.7.6

- Update from buildservice.

- 0.7.4 release
- changes to keep it in sync with compiz release 0.7.4

- first define and then use %version

OBS-URL: https://build.opensuse.org/package/show/X11:Compiz/python-compizconfig?expand=0&rev=48
2014-05-15 11:28:22 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package python-compizconfig
#
# Copyright (c) 2014 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: python-compizconfig
Version: 0.8.4
Release: 0
Summary: Python bindings for libraries/plugins for compizconfig-settings
License: GPL-2.0+
Group: System/X11/Utilities
Url: http://opencompositing.org
Source: compizconfig-python-%{version}.tar.bz2
Patch0: newtocinit.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: compiz-devel
BuildRequires: compiz-gnome
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libcompizconfig-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: pkg-config
BuildRequires: pyrex
BuildRequires: python-devel
BuildRequires: python-gnome
Requires: compiz < 0.9
Requires: libcompizconfig < 0.9
Requires: python-gtk
Obsoletes: ccs-python < %{version}
Provides: ccs-python = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Python bindings for libraries/plugins for compizconfig-settings
%prep
%setup -q -n compizconfig-python-%{version}
%patch0 -p1
%build
#
####python-compizconfig
#
./autogen.sh
%configure --prefix=/usr --libdir=%{_libdir} --disable-static --with-pic
make %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing"
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{py_sitedir}/*.la
rm %{buildroot}%{_libdir}/pkgconfig/*
%files
%defattr(-, root, root)
%{py_sitedir}/compizconfig*
%changelog