File compiz-plugins-experimental.spec of Package compiz-plugins-experimental

Summary:	Experimental Compiz compositing manager plugins
Name:		compiz-plugins-experimental
Version:	0.8.18
Release:	%mkrel 1
License:	GPLv2+
Group:		System/X11
URL:		https://github.com/compiz-reloaded/compiz-plugins-experimental/
Source0:	https://github.com/compiz-reloaded/compiz-plugins-experimental/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  compiz-devel >= 1:0.8.18
BuildRequires:	gettext-devel
BuildRequires:	intltool
BuildRequires:	pkgconfig(atspi-2)
BuildRequires:	pkgconfig(bcop)
BuildRequires:	pkgconfig(gl)
BuildRequires:	pkgconfig(glu)
BuildRequires:	pkgconfig(libjpeg)
BuildRequires:	pkgconfig(pango)
Requires:	compiz >= 1:0.8.18

%description
Experimental Compiz compositing manager plugins.

%files -f %{name}.lang
%{_libdir}/compiz/*.so
%{_datadir}/compiz/*.xml
%{_datadir}/compiz/earth/
%{_datadir}/compiz/elements/
%{_datadir}/compiz/fireflies/
%{_datadir}/compiz/icons/hicolor/scalable/apps/*.svg
%{_datadir}/compiz/snow/
%{_datadir}/compiz/stars/

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

%package	devel
Summary:	Development files for Compiz Experimental Plugin Set
Group:		Development/X11
Requires:	%{name} = %{version}-%{release}

%description devel
Development files for Compiz Experimental Plugin Set.

%files devel
%{_includedir}/compiz/*

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

%prep
%setup -q

# make autoreconf more happy
mkdir -p m4

%build
autoreconf -vfi -Im4
intltoolize --copy --force --automake

%if %mgaversion < 8
%configure2_5x \
	--disable-static
%else
%configure \
	--disable-static
%endif

%make_build

%install
%make_install

# we don't want these
find %{buildroot} -name "*.la" -delete

%find_lang %{name}
openSUSE Build Service is sponsored by