Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Fedora Release Engineering
d53bf0c5ef dist-git conversion 2010-07-29 14:42:29 +00:00
Bill Nottingham
d9b89a07de Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:14:32 +00:00
ae3494eddf Removed the already removed patch from spec file 2008-05-19 16:08:08 +00:00
b38318d683 - Upgrade to 0.2.23
- Corrected packaging of cpi/*.so files (thanks to Arne Caspari)
2008-05-19 15:55:44 +00:00
7e65eb518a Upgrade to 0.2.22 (#446021) 2008-05-17 21:13:05 +00:00
83582f0599 Initial import of unicap 2008-02-18 22:14:36 +00:00
92a8e8fa1a Initialize branch F-7 for unicap 2008-02-18 17:33:59 +00:00
5 changed files with 85 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
unicap-0.2.23.tar.gz

View file

@ -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)

View file

@ -0,0 +1 @@
e82bc6cdd58383051ad942fb6fde8d35 unicap-0.2.23.tar.gz

83
unicap.spec Normal file
View file

@ -0,0 +1,83 @@
Summary: Library to access different kinds of (video) capture devices
Name: unicap
Version: 0.2.23
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.unicap-imaging.org/
Source: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz
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
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
%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.*
%{_libdir}/unicap2
%files devel
%defattr(-,root,root)
%doc examples
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/%{name}
%{_datadir}/gtk-doc/html/*
%changelog
* Mon May 19 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-1
- Upgrade to 0.2.23
- Corrected packaging of cpi/*.so files (thanks to Arne Caspari)
* Sat May 17 2008 Robert Scheck <robert@fedoraproject.org> 0.2.22-1
- Upgrade to 0.2.22 (#446021)
* 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