rpms/unicap/F-7 unicap-0.2.19-libdir.patch, NONE, 1.1 unicap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Robert Scheck (robert)
fedora-extras-commits at redhat.com
Mon Feb 18 22:15:11 UTC 2008
- Previous message (by thread): rpms/f-spot/devel f-spot.spec,1.60,1.61
- Next message (by thread): rpms/unicap/F-8 unicap-0.2.19-libdir.patch, NONE, 1.1 unicap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robert
Update of /cvs/pkgs/rpms/unicap/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9502/F-7
Modified Files:
.cvsignore sources
Added Files:
unicap-0.2.19-libdir.patch unicap.spec
Log Message:
Initial import of unicap
unicap-0.2.19-libdir.patch:
--- NEW FILE unicap-0.2.19-libdir.patch ---
Patch by Ralf Corsepius <rc040203 at 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 at 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
--- NEW FILE unicap.spec ---
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 at fedoraproject.org> 0.2.19-3
- Added patch to correct libdir paths (thanks to Ralf Corsepius)
* Mon Feb 04 2008 Robert Scheck <robert at fedoraproject.org> 0.2.19-2
- Changes to match with Fedora Packaging Guidelines (#431381)
* Mon Feb 04 2008 Robert Scheck <robert at fedoraproject.org> 0.2.19-1
- Upgrade to 0.2.19
- Initial spec file for Fedora and Red Hat Enterprise Linux
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/unicap/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Feb 2008 17:33:39 -0000 1.1
+++ .cvsignore 18 Feb 2008 22:14:36 -0000 1.2
@@ -0,0 +1 @@
+unicap-0.2.19.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unicap/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Feb 2008 17:33:39 -0000 1.1
+++ sources 18 Feb 2008 22:14:36 -0000 1.2
@@ -0,0 +1 @@
+0ab0a533f5c1ff3a24853d2564ffb14f unicap-0.2.19.tar.gz
- Previous message (by thread): rpms/f-spot/devel f-spot.spec,1.60,1.61
- Next message (by thread): rpms/unicap/F-8 unicap-0.2.19-libdir.patch, NONE, 1.1 unicap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list