[521] | 1 | Summary: Library to access different kinds of (video) capture devices |
---|
| 2 | Summary(ja): さまざまなビデオキャプチャデバイスにアクセスするためのライブラリ |
---|
| 3 | Name: unicap |
---|
| 4 | Version: 0.2.24 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | License: GPLv2+ |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://www.unicap-imaging.org/ |
---|
| 9 | Source: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz |
---|
| 10 | Patch100: unicap-0.2.24_fix-headers.patch |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext |
---|
| 14 | BuildRequires: glib2-devel, gtk2-devel, pango-devel, libtheora-devel, libXv-devel |
---|
| 15 | BuildRequires: libpng-devel, libX11-devel, libICE-devel, libraw1394-devel >= 1.1.0 |
---|
| 16 | BuildRequires: libogg-devel, libvorbis-devel, libXext-devel, alsa-lib-devel |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | Unicap provides a uniform interface to video capture devices. It allows |
---|
| 21 | applications to use any supported video capture device via a single API. |
---|
| 22 | The included ucil library provides easy to use functions to render text |
---|
| 23 | and graphic overlays onto video images. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for the unicap library |
---|
| 27 | Summary(ja): unicap ライブラリの開発ファイル |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release}, pkgconfig |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | The unicap-devel package includes header files and libraries necessary for |
---|
| 33 | for developing programs which use the unicap, unicapgtk and ucil library. It |
---|
| 34 | contains the API documentation of the library, too. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | %patch100 -p1 |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %configure --disable-rpath --enable-gtk-doc |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 47 | |
---|
| 48 | # Don't install any static .a and libtool .la files |
---|
| 49 | rm -f $RPM_BUILD_ROOT%{_libdir}/{,unicap2/cpi/}*.{a,la} |
---|
| 50 | |
---|
| 51 | %find_lang %{name} |
---|
| 52 | |
---|
| 53 | %clean |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | |
---|
| 56 | %post -p /sbin/ldconfig |
---|
| 57 | |
---|
| 58 | %postun -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %files -f %{name}.lang |
---|
| 61 | %defattr(-,root,root) |
---|
| 62 | %doc AUTHORS ChangeLog COPYING README |
---|
| 63 | %{_libdir}/*.so.* |
---|
| 64 | %{_libdir}/unicap2 |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %defattr(-,root,root) |
---|
| 68 | %doc examples |
---|
| 69 | %{_libdir}/*.so |
---|
| 70 | %{_libdir}/pkgconfig/*.pc |
---|
| 71 | %{_includedir}/%{name} |
---|
| 72 | %{_datadir}/gtk-doc/html/* |
---|
| 73 | |
---|
| 74 | %changelog |
---|
| 75 | * Thu Aug 21 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.2.24-2 |
---|
| 76 | - add temporal patch to build against kernel 2.6.26 |
---|
| 77 | |
---|
| 78 | * Sun Jul 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.24-1 |
---|
| 79 | - initial build for Vine Linux |
---|
| 80 | |
---|
| 81 | * Mon May 19 2008 Robert Scheck <robert@fedoraproject.org> 0.2.23-1 |
---|
| 82 | - Upgrade to 0.2.23 |
---|
| 83 | - Corrected packaging of cpi/*.so files (thanks to Arne Caspari) |
---|
| 84 | |
---|
| 85 | * Sat May 17 2008 Robert Scheck <robert@fedoraproject.org> 0.2.22-1 |
---|
| 86 | - Upgrade to 0.2.22 (#446021) |
---|
| 87 | |
---|
| 88 | * Sat Feb 16 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-3 |
---|
| 89 | - Added patch to correct libdir paths (thanks to Ralf Corsepius) |
---|
| 90 | |
---|
| 91 | * Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-2 |
---|
| 92 | - Changes to match with Fedora Packaging Guidelines (#431381) |
---|
| 93 | |
---|
| 94 | * Mon Feb 04 2008 Robert Scheck <robert@fedoraproject.org> 0.2.19-1 |
---|
| 95 | - Upgrade to 0.2.19 |
---|
| 96 | - Initial spec file for Fedora and Red Hat Enterprise Linux |
---|