Initial packaging (#1190361)

This commit is contained in:
David King 2015-02-24 09:40:27 +00:00
parent f30386ac38
commit a24231dd2b
3 changed files with 88 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/clutter-gst-3.0.4.tar.xz

86
clutter-gst3.spec Normal file
View File

@ -0,0 +1,86 @@
Name: clutter-gst3
Version: 3.0.4
Release: 1%{?dist}
Summary: GStreamer integration library for Clutter
Group: Development/Libraries
License: LGPLv2+
URL: https://developer.gnome.org/clutter-gst/stable/
Source0: https://download.gnome.org/sources/clutter-gst/3.0/clutter-gst-%{version}.tar.xz
BuildRequires: /usr/bin/chrpath
BuildRequires: pkgconfig(clutter-1.0)
BuildRequires: pkgconfig(cogl-2.0-experimental)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-audio-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gudev-1.0)
%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GStreamer enables the use of GStreamer with Clutter.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.
Clutter GStreamer enables the use of GStreamer with Clutter.
The %{name}-devel package contains libraries and header files for
developing applications that use clutter-gst API version 3.0.
%prep
%setup -q -n clutter-gst-%{version}
%build
%configure
make %{?_smp_mflags} V=1
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
find %{buildroot} -name '*.la' -delete
chrpath --delete %{buildroot}%{_libdir}/gstreamer-1.0/libgstclutter-3.0.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc AUTHORS NEWS README
%license COPYING
%{_libdir}/girepository-1.0/ClutterGst-3.0.typelib
%{_libdir}/gstreamer-1.0/libgstclutter-3.0.so
%{_libdir}/libclutter-gst-3.0.so.*
%files devel
%{_includedir}/clutter-gst-3.0/
%{_libdir}/libclutter-gst-3.0.so
%{_libdir}/pkgconfig/clutter-gst-3.0.pc
%{_datadir}/gir-1.0/ClutterGst-3.0.gir
%doc %{_datadir}/gtk-doc/
%changelog
* Sun Feb 22 2015 David King <amigadave@amigadave.com> - 3.0.4-1
- Initial packaging (#1190361)

View File

@ -0,0 +1 @@
0b4283e6ccf5ee5d9f5fb635230fc714 clutter-gst-3.0.4.tar.xz