Compare commits

..

4 commits

Author SHA1 Message Date
Fedora Release Engineering
8c1f382956 dist-git conversion 2010-07-29 14:42:34 +00:00
Bill Nottingham
9357f333c0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:14:31 +00:00
74e6767074 Upgrade to 0.9.5 2009-05-03 12:13:40 +00:00
Jesse Keating
35c6de86fa Initialize branch F-10 for unicap 2008-11-07 04:47:15 +00:00
5 changed files with 116 additions and 5 deletions

1
.gitignore vendored
View file

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

View file

@ -1,5 +0,0 @@
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

View file

@ -0,0 +1 @@
1d64005afac1ec9d75a1637d7f1aa91e unicap-0.9.5.tar.gz

4
unicap-filter.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/sh
# The original script name has been passed as the first argument:
"$@" | sed -e '/^libdcam.so/d' -e '/^libv4l.so/d' -e '/^libv4l2.so/d' -e '/^libvid21394.so/d'

110
unicap.spec Normal file
View file

@ -0,0 +1,110 @@
%define _use_internal_dependency_generator 0
%{expand:%%define prev__find_provides %{__find_provides}}
%define __find_provides sh %{SOURCE1} %{prev__find_provides}
%{expand:%%define prev__find_requires %{__find_requires}}
%define __find_requires sh %{SOURCE1} %{prev__find_requires}
Summary: Library to access different kinds of (video) capture devices
Name: unicap
Version: 0.9.5
Release: 1%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.unicap-imaging.org/
Source0: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz
Source1: unicap-filter.sh
BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, gtk-doc >= 1.4
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: libv4l-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 --enable-libv4l
%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
* Sun May 03 2009 Robert Scheck <robert@fedoraproject.org> 0.9.5-1
- Upgrade to 0.9.5
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.9.3-2
- Rebuild against gcc 4.4 and rpm 4.6
* Mon Oct 13 2008 Robert Scheck <robert@fedoraproject.org> 0.9.3-1
- Upgrade to 0.9.3 (#466825, thanks to Hans de Goede)
- Enabled libv4l support for the new gspca kernel driver
* Sat Aug 09 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-4
- Rebuild to get missing dependencies back (#443015, #458527)
* Tue Aug 05 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-3
- Filter the unicap plugins which overlap with libv4l libraries
* Wed Jul 22 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-2
- Rebuild for libraw1394 2.0.0
* 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