Compare commits
17 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23065682ee | ||
| fc31443a34 | |||
| e3e590532c | |||
|
|
5de2323c2f | ||
|
|
9ebe65914a | ||
| 22156e886d | |||
| 3796d9ea9d | |||
| ba65d64cfe | |||
| 8faf1ff4c2 | |||
| 8f9d196239 | |||
| 6f55e1c9ed | |||
| 75d9c6535b | |||
| 24c5f10431 | |||
| 82de63322c | |||
| 1095d88c17 | |||
| 816cff3f96 | |||
| fffed00227 |
7 changed files with 5 additions and 195 deletions
|
|
@ -1 +0,0 @@
|
|||
unicap-0.2.19.tar.gz
|
||||
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
5
dead.package
Normal file
5
dead.package
Normal file
|
|
@ -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
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
0ab0a533f5c1ff3a24853d2564ffb14f unicap-0.2.19.tar.gz
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
Patch by Ralf Corsepius <rc040203@freenet.de> 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
|
||||
85
unicap.spec
85
unicap.spec
|
|
@ -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 <robert@fedoraproject.org> 0.2.19-3
|
||||
- Added patch to correct libdir paths (thanks to Ralf Corsepius)
|
||||
|
||||
* Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-2
|
||||
- Changes to match with Fedora Packaging Guidelines (#431381)
|
||||
|
||||
* Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-1
|
||||
- Upgrade to 0.2.19
|
||||
- Initial spec file for Fedora and Red Hat Enterprise Linux
|
||||
Loading…
Add table
Add a link
Reference in a new issue