/[packages]/cauldron/xvid/current/SPECS/xvid.spec
ViewVC logotype

Contents of /cauldron/xvid/current/SPECS/xvid.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 387506 - (show annotations) (download)
Mon Jan 14 14:41:45 2013 UTC (11 years, 2 months ago) by umeabot
File size: 2072 byte(s)
Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
1 %define name xvid
2 %define version 1.3.2
3 %define fname xvidcore-%{version}
4
5 %define major 4
6 %define libname %mklibname %{name} %{major}
7 %define develname %mklibname -d %{name}
8
9 Summary: Video codec compatible with divx4
10 Name: %{name}
11 Version: %{version}
12 Release: %mkrel 2
13 Source0: http://downloads.xvid.org/downloads/%{fname}.tar.bz2
14 License: GPLv2+
15 Group: System/Libraries
16 URL: http://www.xvid.org
17 Epoch: 2
18 BuildRequires: yasm
19
20 %description
21 This is a video codec based on the original OpenDivX codec. It's
22 compatible with DivX and MPEG 4.
23
24 This package is in Tainted repository for patent issues.
25
26 %package -n %{libname}
27 Group: System/Libraries
28 Summary: Video codec compatible with divx4
29 Provides: lib%{name} = %{version}-%{release}
30 Obsoletes: %{name}
31 Provides: %{name}
32
33 %description -n %{libname}
34 This is a video codec based on the original OpenDivX codec. It's
35 compatible with DivX and MPEG 4.
36
37 It's in tainted repository for patent issues.
38
39 %package -n %{develname}
40 Group:Development/C
41 Summary: Video codec compatible with divx4, devel files
42 Requires: %{libname} = %{epoch}:%{version}-%{release}
43 Provides: %{name}-devel = %{version}-%{release}
44 Obsoletes: %{name}-devel %{mklibname -d %{name} 4}
45 Conflicts: xvid2-devel
46 Provides: lib%{name}-devel = %{version}-%{release}
47 Provides: xvid4-devel = %{version}-%{release}
48
49 %description -n %{develname}
50 This is a video codec based on the original OpenDivX codec. It's
51 compatible with DivX and MPEG 4.
52
53 It's in tainted repository for patent issues.
54
55 This package contains the header files and static libraries needed to
56 build programs with the xvid codec using it's native API.
57
58 %prep
59 %setup -q -n xvidcore
60
61 %build
62 cd build/generic
63 %configure2_5x
64 %make
65
66 %install
67 rm -rf %{buildroot}
68 cd build/generic
69 %makeinstall
70 ln -s libxvidcore.so.%{major} %{buildroot}%{_libdir}/libxvidcore.so
71
72 %clean
73 rm -rf %{buildroot}
74
75
76 %files -n %{libname}
77 %doc LICENSE README
78 %{_libdir}/libxvidcore.so.%{major}*
79
80 %files -n %{develname}
81 %doc ChangeLog CodingStyle TODO AUTHORS
82 %{_libdir}/libxvidcore.so
83 %{_libdir}/libxvidcore.a
84 %{_includedir}/xvid.h
85

  ViewVC Help
Powered by ViewVC 1.1.30