diff --git a/.gitignore b/.gitignore index e69de29..aa6a705 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-video-effects-0.1.0.tar.bz2 diff --git a/gnome-video-effects-0.1.0-pkgconfigloc.patch b/gnome-video-effects-0.1.0-pkgconfigloc.patch new file mode 100644 index 0000000..755a320 --- /dev/null +++ b/gnome-video-effects-0.1.0-pkgconfigloc.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.am b/Makefile.am +index 24477a8..8638fc8 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,7 +11,7 @@ CLEANFILES = gnome-video-effects.pc + DISTCLEANFILES = \ + gnome-doc-utils.make + +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(datadir)/pkgconfig + pkgconfig_DATA = gnome-video-effects.pc + + dist-hook: diff --git a/gnome-video-effects.spec b/gnome-video-effects.spec new file mode 100644 index 0000000..7d9a0ce --- /dev/null +++ b/gnome-video-effects.spec @@ -0,0 +1,44 @@ +Name: gnome-video-effects +Version: 0.1.0 +Release: 1%{?dist} +Summary: Collection of GStreamer video effects + +Group: System Environment/Libraries +License: GPLv2 +URL: http://live.gnome.org/GnomeVideoEffects +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{name}-%{version}.tar.bz2 +# https://bugzilla.gnome.org/show_bug.cgi?id=628502 +Patch0: gnome-video-effects-0.1.0-pkgconfigloc.patch +Buildarch: noarch + +BuildRequires: intltool +# for the autoreconf for patch 1 +BuildRequires: autoconf automake glib2-devel + +%description +A collection of GStreamer effects to be used in different GNOME Modules. + +%prep +%setup -q +%patch0 -p1 -b .pkgconfigloc +autoreconf -f + +%build +%configure +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README +%{_datadir}/pkgconfig/gnome-video-effects.pc +%{_datadir}/gnome-video-effects + + +%changelog +* Wed Sep 1 2010 Yanko Kaneti 0.1.0-1 +- Packaged for review diff --git a/sources b/sources index e69de29..68e4432 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e4c5302764e411fc596501d528adae5c gnome-video-effects-0.1.0.tar.bz2