source: projects/specs/trunk/lib/libt/libtheora/libtheora-vl.spec @ 8758

Revision 8758, 4.1 KB checked in by Takemikaduchi, 10 years ago (diff)

update or rebuild

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: Theora video compression codec
4Summary(ja): Theora 映像圧縮コーデック
5Name: libtheora
6Version: 1.1.1
7Release: 4%{?_dist_release}
8License: BSD
9Group: System Environment/Libraries
10URL: http://www.theora.org/
11
12Source: http://www.theora.org/files/libtheora-%{version}.tar.bz2
13
14Patch0: libtheora-1.1.1-dso.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: libogg-devel >= 1.1
18BuildRequires: libvorbis-devel >= 1.0.1
19BuildRequires: SDL-devel
20# Seems like a devel package forgot to include this one (ogg? vorbis? SDL?)
21#BuildRequires: alsa-lib-devel
22
23%description
24Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
25general-purpose compressed video format.
26
27
28%package devel
29Summary: Headers for developing programs that will use libtheora
30Summary(ja): libtheora の開発用ファイル
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: libogg-devel >= 1.1
34
35%description devel
36This package contains the headers that programmers will need to develop
37applications which will use %{name}.
38
39# compat32
40%package -n compat32-%{name}
41Summary: Theora video compression codec
42Summary(ja): Theora 映像圧縮コーデック
43Group: System Environment/Libraries
44Requires: %{name} = %{version}-%{release}
45
46%description -n compat32-%{name}
47Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free,
48general-purpose compressed video format.
49
50%package -n compat32-%{name}-devel
51Summary: Headers for developing programs that will use libtheora
52Summary(ja): libtheora の開発用ファイル
53Group: Development/Libraries
54Requires: compat32-%{name} = %{version}-%{release}
55Requires: %{name}-devel = %{version}-%{release}
56Requires: compat32-libogg-devel >= 1.1
57
58%description -n compat32-%{name}-devel
59This package contains the headers that programmers will need to develop
60applications which will use %{name}.
61
62
63%prep
64%setup -q -n %{name}-%{version}
65%patch0 -p1
66
67%build
68%configure --disable-static
69make %{?_smp_mflags}
70
71
72%install
73rm -rf %{buildroot} installed-docs
74make install DESTDIR=%{buildroot}
75mv %{buildroot}%{_datadir}/doc/libtheora* installed-docs
76# Fix the location of the include file
77#mkdir -p %{buildroot}%{_includedir}/theora
78#mv %{buildroot}%{_includedir}/theora.h %{buildroot}%{_includedir}/theora/
79
80# remove unpackage files
81rm -f $RPM_BUILD_ROOT%{_libdir}/libtheora*.la
82
83%clean
84[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87
88%postun -p /sbin/ldconfig
89
90%post -n compat32-%{name} -p /sbin/ldconfig
91
92%postun -n compat32-%{name} -p /sbin/ldconfig
93
94%files
95%defattr(-, root, root, 0755)
96%doc README COPYING
97%{_libdir}/libtheora*.so.*
98
99%files devel
100%defattr(-, root, root, 0755)
101%doc installed-docs/*
102%{_includedir}/theora
103%{_libdir}/libtheora*.so
104%{_libdir}/pkgconfig/*.pc
105
106# compat32
107%if %{build_compat32}
108%files -n compat32-%{name}
109%defattr(-, root, root)
110%{_libdir}/*.so.*
111
112%files -n compat32-%{name}-devel
113%defattr(-, root, root)
114%{_libdir}/*.so
115%endif
116
117
118%changelog
119* Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-4
120- rebuild with VineSeed environment
121- add Patch0 (libtheora-1.1.1-dso.patch)
122
123* Wed Jan 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-3
124- create compat32 sub packages
125
126* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.1-2
127- build with rpm-4.8.1-1 for pkg-config file
128
129* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1
130- new upstream relase
131
132* Thu Nov 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
133- new upstream release
134
135* Sat Apr  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.beta2.1vl5
136- new upstream relase
137
138* Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha7vl1
139- new upstream relase
140
141* Sat Sep 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha5vl1
142- new upstream relase
143
144* Thu Mar 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha4vl1
145- new upstream relase
146- added Japanese summary
147
148* Sun Sep  5 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.alpha3vl1
149- Build for Vine
150
151* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 1.0-0.alpha3.1
152- Initial RPM release, only devel as there is only a static lib for now.
153
Note: See TracBrowser for help on using the repository browser.