source: projects/specs/branches/6/lib/libt/libtheora/libtheora-vl.spec @ 1860

Revision 1860, 2.7 KB checked in by iwaim, 14 years ago (diff)

build with rpm 4.8.1-1; see [VineSeed:21799]

Line 
1Summary: Theora video compression codec
2Summary(ja): Theora 映像圧縮コーデック
3Name: libtheora
4Version: 1.1.1
5Release: 2%{?_dist_release}
6License: BSD
7URL: http://www.theora.org/
8Source: http://www.theora.org/files/libtheora-%{version}.tar.bz2
9Group: System Environment/Libraries
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: libogg-devel >= 1.1
12BuildRequires: libvorbis-devel >= 1.0.1
13BuildRequires: SDL-devel
14# Seems like a devel package forgot to include this one (ogg? vorbis? SDL?)
15#BuildRequires: alsa-lib-devel
16
17%description
18Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
19general-purpose compressed video format.
20
21
22%package devel
23Summary: Headers for developing programs that will use libtheora
24Summary(ja): libtheora の開発用ファイル
25Group: Development/Libraries
26Requires: %{name} = %{version}
27Requires: libogg-devel >= 1.1
28
29%description devel
30This package contains the headers that programmers will need to develop
31applications which will use %{name}.
32
33
34%prep
35%setup -q -n %{name}-%{version}
36
37%build
38%configure --disable-static
39make %{?_smp_mflags}
40
41
42%install
43rm -rf %{buildroot} installed-docs
44%makeinstall
45mv %{buildroot}%{_datadir}/doc/libtheora* installed-docs
46# Fix the location of the include file
47#mkdir -p %{buildroot}%{_includedir}/theora
48#mv %{buildroot}%{_includedir}/theora.h %{buildroot}%{_includedir}/theora/
49
50# remove unpackage files
51rm -f $RPM_BUILD_ROOT%{_libdir}/libtheora*.la
52
53%clean
54[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(-, root, root, 0755)
58%doc README COPYING
59%{_libdir}/libtheora*.so.*
60
61%files devel
62%defattr(-, root, root, 0755)
63%doc installed-docs/*
64%{_includedir}/theora
65#{_libdir}/libtheora*.a
66%{_libdir}/libtheora*.so
67%{_libdir}/pkgconfig/*.pc
68
69
70%changelog
71* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.1-2
72- build with rpm-4.8.1-1 for pkg-config file
73
74* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1
75- new upstream relase
76
77* Thu Nov 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
78- new upstream release
79
80* Sat Apr  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.beta2.1vl5
81- new upstream relase
82
83* Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha7vl1
84- new upstream relase
85
86* Sat Sep 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha5vl1
87- new upstream relase
88
89* Thu Mar 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha4vl1
90- new upstream relase
91- added Japanese summary
92
93* Sun Sep  5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha3vl1
94- Build for Vine
95
96* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 1.0-0.alpha3.1
97- Initial RPM release, only devel as there is only a static lib for now.
98
Note: See TracBrowser for help on using the repository browser.