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

Revision 12405, 4.3 KB checked in by tomop, 4 years ago (diff)

updated 9 packages

enca-1.19-1

freetype2-2.10.2-1

id3lib-3.8.3-5

libass-0.14.0-1

libemf-1.0.12-1

libexif-0.6.21-3

libtheora-1.1.1-5

libvdpau-1.4-1

pstoedit-3.75-1

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