source: projects/specs/trunk/u/unicap/unicap-vl.spec @ 521

Revision 521, 3.0 KB checked in by daisuke, 11 years ago (diff)

import VineSeed package specs

Line 
1Summary:        Library to access different kinds of (video) capture devices
2Summary(ja):    さまざまなビデオキャプチャデバイスにアクセスするためのライブラリ
3Name:           unicap
4Version:        0.2.24
5Release:        2%{?_dist_release}
6License:        GPLv2+
7Group:          System Environment/Libraries
8URL:            http://www.unicap-imaging.org/
9Source:         http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz
10Patch100:       unicap-0.2.24_fix-headers.patch
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13BuildRequires:  intltool, /usr/bin/perl, perl(XML::Parser), gettext
14BuildRequires:  glib2-devel, gtk2-devel, pango-devel, libtheora-devel, libXv-devel
15BuildRequires:  libpng-devel, libX11-devel, libICE-devel, libraw1394-devel >= 1.1.0
16BuildRequires:  libogg-devel, libvorbis-devel, libXext-devel, alsa-lib-devel
17
18
19%description
20Unicap provides a uniform interface to video capture devices. It allows
21applications to use any supported video capture device via a single API.
22The included ucil library provides easy to use functions to render text
23and graphic overlays onto video images.
24
25%package devel
26Summary:        Development files for the unicap library
27Summary(ja):    unicap ライブラリの開発ファイル
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}, pkgconfig
30
31%description devel
32The unicap-devel package includes header files and libraries necessary for
33for developing programs which use the unicap, unicapgtk and ucil library. It
34contains 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
45rm -rf $RPM_BUILD_ROOT
46make DESTDIR=$RPM_BUILD_ROOT install
47
48# Don't install any static .a and libtool .la files
49rm -f $RPM_BUILD_ROOT%{_libdir}/{,unicap2/cpi/}*.{a,la}
50
51%find_lang %{name}
52
53%clean
54rm -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
Note: See TracBrowser for help on using the repository browser.