diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 0c9f421..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -unicap-0.2.19.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile deleted file mode 100644 index 20fec0d..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: unicap -# $Id$ -NAME := unicap -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..becd7d4 --- /dev/null +++ b/dead.package @@ -0,0 +1,5 @@ +Package unicap has been replaced on upstream level +by libunicap, libucil and libunicapgtk. See also: +https://bugzilla.redhat.com/show_bug.cgi?id=567109 +https://bugzilla.redhat.com/show_bug.cgi?id=567110 +https://bugzilla.redhat.com/show_bug.cgi?id=567111 diff --git a/sources b/sources index 9d69924..e69de29 100644 --- a/sources +++ b/sources @@ -1 +0,0 @@ -0ab0a533f5c1ff3a24853d2564ffb14f unicap-0.2.19.tar.gz diff --git a/unicap-0.2.19-libdir.patch b/unicap-0.2.19-libdir.patch deleted file mode 100644 index e65f7b5..0000000 --- a/unicap-0.2.19-libdir.patch +++ /dev/null @@ -1,87 +0,0 @@ -Patch by Ralf Corsepius for unicap >= 0.2.19, which causes the use -of /usr/lib64 on 64 bit architectures. And without this patch, /usr/lib is always used. - ---- unicap-0.2.19/cpi/dcam/Makefile.am 2007-08-02 22:29:53.000000000 +0200 -+++ unicap-0.2.19/cpi/dcam/Makefile.am.libdir 2008-02-05 11:35:57.000000000 +0100 -@@ -4,10 +4,10 @@ - if ENABLE_STATIC_CPI - noinst_LTLIBRARIES = libdcam.la - else --lib_LTLIBRARIES = libdcam.la -+libcpi_LTLIBRARIES = libdcam.la - endif - --libdir = $(prefix)/lib/unicap$(pkg_version)/cpi -+libcpidir = $(libdir)/unicap$(pkg_version)/cpi - - libdcam_la_CPPFLAGS = -D@LIBRAW1394_VERSION@ - ---- unicap-0.2.19/cpi/thing/Makefile.am 2006-04-16 22:02:55.000000000 +0200 -+++ unicap-0.2.19/cpi/thing/Makefile.am.libdir 2008-02-05 11:36:58.000000000 +0100 -@@ -1,9 +1,9 @@ - MAINTAINERCLEANFILES = Makefile.in - INCLUDES = -I../include -I../../include - --lib_LTLIBRARIES = libthing.la -+libcpi_LTLIBRARIES = libthing.la - --libdir = $(prefix)/lib/unicap/cpi -+libcpidir = $(libdir)/unicap/cpi - - - libthing_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@ ---- unicap-0.2.19/cpi/v4l/Makefile.am 2007-08-02 22:30:32.000000000 +0200 -+++ unicap-0.2.19/cpi/v4l/Makefile.am.libdir 2008-02-05 11:37:23.000000000 +0100 -@@ -4,10 +4,10 @@ - if ENABLE_STATIC_CPI - noinst_LTLIBRARIES = libv4l.la - else --lib_LTLIBRARIES = libv4l.la -+libcpi_LTLIBRARIES = libv4l.la - endif - --libdir = $(prefix)/lib/unicap$(pkg_version)/cpi -+libcpidir = $(libdir)/unicap$(pkg_version)/cpi - - - libv4l_la_LDFLAGS = ---- unicap-0.2.19/cpi/v4l2/Makefile.am 2008-02-02 16:07:46.000000000 +0100 -+++ unicap-0.2.19/cpi/v4l2/Makefile.am.libdir 2008-02-05 11:36:25.000000000 +0100 -@@ -4,10 +4,10 @@ - if ENABLE_STATIC_CPI - noinst_LTLIBRARIES = libv4l2.la - else --lib_LTLIBRARIES = libv4l2.la -+libcpi_LTLIBRARIES = libv4l2.la - endif - --libdir = $(prefix)/lib/unicap$(pkg_version)/cpi -+libcpidir = $(libdir)/unicap$(pkg_version)/cpi - - - libv4l2_la_LDFLAGS = ---- unicap-0.2.19/cpi/vid21394/Makefile.am 2007-08-02 22:29:34.000000000 +0200 -+++ unicap-0.2.19/cpi/vid21394/Makefile.am.libdir 2008-02-05 11:38:19.000000000 +0100 -@@ -4,10 +4,10 @@ - if ENABLE_STATIC_CPI - noinst_LTLIBRARIES = libvid21394.la - else --lib_LTLIBRARIES = libvid21394.la -+libcpi_LTLIBRARIES = libvid21394.la - endif - --libdir = $(prefix)/lib/unicap$(pkg_version)/cpi -+libcpidir = $(libdir)/unicap$(pkg_version)/cpi - - libvid21394_la_LDFLAGS = - ---- unicap-0.2.19/libunicapgtk/Makefile.am 2007-08-30 07:55:42.000000000 +0200 -+++ unicap-0.2.19/libunicapgtk/Makefile.am.libdir 2008-02-05 11:39:08.000000000 +0100 -@@ -1,6 +1,6 @@ - MAINTAINERCLEANFILES = Makefile.in - INCLUDES = -I../include -I../libucil @GTK_PACKAGE_CFLAGS@ --AM_CPPFLAGS = $(GTK_CPPFLAGS) -DSYSCONFDIR="\"$(sysconfdir)\"" -DBACKENDDIR="\"$(prefix)/lib/unicap$(pkg_version)/backends\"" -DPKG_VERSION="\"@lt_major@\"" -+AM_CPPFLAGS = $(GTK_CPPFLAGS) -DSYSCONFDIR="\"$(sysconfdir)\"" -DBACKENDDIR="\"$(libdir)/unicap$(pkg_version)/backends\"" -DPKG_VERSION="\"@lt_major@\"" - - if BUILD_UNICAPGTK - UNICAPGTK_LIB=libunicapgtk.la diff --git a/unicap.spec b/unicap.spec deleted file mode 100644 index 98fccd1..0000000 --- a/unicap.spec +++ /dev/null @@ -1,85 +0,0 @@ -Summary: Library to access different kinds of (video) capture devices -Name: unicap -Version: 0.2.19 -Release: 3%{?dist} -License: GPLv2+ -Group: System Environment/Libraries -URL: http://www.unicap-imaging.org/ -Source: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz -Patch: unicap-0.2.19-libdir.patch -BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext -BuildRequires: glib2-devel, gtk2-devel, pango-devel, libtheora-devel, libXv-devel -BuildRequires: libpng-devel, libX11-devel, libICE-devel, libraw1394-devel >= 1.1.0 -BuildRequires: libogg-devel, libvorbis-devel, libXext-devel, alsa-lib-devel -BuildRequires: automake, libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -%description -Unicap provides a uniform interface to video capture devices. It allows -applications to use any supported video capture device via a single API. -The included ucil library provides easy to use functions to render text -and graphic overlays onto video images. - -%package devel -Summary: Development files for the unicap library -Group: Development/Libraries -Requires: %{name} = %{version}-%{release}, pkgconfig - -%description devel -The unicap-devel package includes header files and libraries necessary for -for developing programs which use the unicap, unicapgtk and ucil library. It -contains the API documentation of the library, too. - -%prep -%setup -q -%patch -p1 -b .libdir -aclocal -I m4 -autoconf -automake -a - -%build -%configure --disable-rpath --enable-gtk-doc - -%install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install - -# Don't install any static .a and libtool .la files -rm -f $RPM_BUILD_ROOT%{_libdir}/{,unicap2/cpi/}*.{a,la} - -%find_lang %{name} - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -f %{name}.lang -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING README -%{_libdir}/*.so.* -%dir %{_libdir}/unicap2 -%dir %{_libdir}/unicap2/cpi -%{_libdir}/unicap2/cpi/*.so.* - -%files devel -%defattr(-,root,root) -%doc examples -%{_libdir}/*.so -%{_libdir}/unicap2/cpi/*.so -%{_libdir}/pkgconfig/*.pc -%{_includedir}/%{name} -%{_datadir}/gtk-doc/html/* - -%changelog -* Sat Feb 16 2008 Robert Scheck 0.2.19-3 -- Added patch to correct libdir paths (thanks to Ralf Corsepius) - -* Mon Feb 04 2008 Robert Scheck 0.2.19-2 -- Changes to match with Fedora Packaging Guidelines (#431381) - -* Mon Feb 04 2008 Robert Scheck 0.2.19-1 -- Upgrade to 0.2.19 -- Initial spec file for Fedora and Red Hat Enterprise Linux