source: projects/specs/trunk/r/ruby-v4l/ruby-v4l-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define buildrequires_ge()  %(LC_ALL="C" rpm -q --queryformat 'BuildRequires:%%{NAME} >= %%{VERSION}' %1| grep -v "is not")
2%define name ruby-v4l                                                       
3%define version 0.1.2
4%define release 0vl1
5                                                                 
6Name: %{name}
7Summary: ruby/V4L is simple wapper of v4l(Video for Linux).
8Version: %{version}                                                           
9Release: %{release}                                                           
10Source: http://ruby.ad-hoc.org/v4l/%{name}-%{version}.tar.bz2       
11URL: http://rubyforge.org/projects/ruby-v4l/
12Group: Development/Libraries
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14License: LGPL
15%buildrequires_ge ruby-devel
16 
17%description
18ruby/V4L is simple wapper of v4l(Video for Linux).
19In other words this library will only run on Linux machines which support a
20video4linux-device.
21
22%prep                               
23rm -rf $RPM_BUILD_ROOT                       
24%setup -q
25                         
26%build
27ruby extconf.rb
28make
29                                                                             
30%install
31rm -rf $RPM_BUILD_ROOT
32make install sitearchdir=$RPM_BUILD_ROOT%{rarchdir}
33 
34%clean                                   
35rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(-,root,root,0755)
39%{rarchdir}/*.so
40%doc tests/*.rb
41
42%changelog
43* Tue Dec 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.2-0vl1
44- new upstream release
45- rebuilt with ruby-1.8
46- changed Group:
47- s/Copyright/License/
48
49* Thu Nov 22 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> 0.0.2-0vl2
50- fix %%files section
51
52* Tue Nov 20 2000 Kazuhisa TAKEI <takei@vinelinux.org> 0.0.2-0vl1
53- initial package
Note: See TracBrowser for help on using the repository browser.