source: projects/specs/trunk/nonfree/self-build-x264/x264-vl.spec @ 9973

Revision 9973, 6.0 KB checked in by munepi, 8 years ago (diff)

new upstream release

RevLine 
[9973]1%global snapshot_date   20160122
[5297]2%global snapshot_time   2245
3%global branch          stable
[615]4
5Summary: Library for encoding and decoding H264/AVC video streams
[1258]6Name: x264
[9973]7Version: 0.148
8Release: 1.%{snapshot_date}%{?_dist_release}
[1258]9License: GPLv2+
10Group: System Environment/Libraries
11URL: http://www.videolan.org/developers/x264.html
[9215]12Source: http://download.videolan.org/pub/x264/snapshots/%{name}-snapshot-%{snapshot_date}-%{snapshot_time}%{?branch:-%{branch}}.tar.bz2
[6241]13BuildRequires: yasm >= 1.0.0
[615]14# gpac-devel package provided by self-build-gpac
15# in self-build-%{name}.spec as PreReq.
16#BuildRequires: gpac-devel
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
[1258]20Provides:       libx264 = %{version}
21Obsoletes:      libx264 < %{version}
[6241]22Obsoletes:      x264 < %{version}, x264-devel < %{version}
[1258]23
24
[615]25%description
26x264 is a free library for encoding H264/AVC video streams, written from
27scratch.
28
[6241]29This package also contains the frontend.
30
[615]31%package devel
32Summary: Development files for the x264 library
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35Requires: pkgconfig
36
37%description devel
38x264 is a free library for encoding H264/AVC video streams, written from
39scratch.
40
[1258]41This package contains the development files.
[615]42
43%prep
[5297]44%setup -q -n %{name}-snapshot-%{snapshot_date}-%{snapshot_time}%{?branch:-%{branch}}
[615]45
46%build
47./configure \
[1258]48    --host=%{_target_platform} \
49    --prefix=%{_prefix} \
50    --exec-prefix=%{_exec_prefix} \
51    --bindir=%{_bindir} \
52    --includedir=%{_includedir} \
53    --libdir=%{_libdir} \
54    --extra-cflags="$RPM_OPT_FLAGS" \
[3126]55    \
[1258]56    %{?_with_visualize:--enable-visualize} \
[5297]57    %{!?_with_libavformat:--disable-lavf} \
58    %{!?_with_ffmpegsource:--disable-ffms} \
[1258]59    --enable-debug \
60    --enable-shared \
[6241]61    --system-libx264 \
[1258]62    --enable-pic \
63    ;
[615]64
[1258]65
[615]66%{__make} %{?_smp_mflags}
67
68%install
69%{__rm} -rf %{buildroot}
70%{__make} DESTDIR=%{buildroot} install
71
72
73%clean
74%{__rm} -rf %{buildroot}
75
76%post -p /sbin/ldconfig
77
78%postun -p /sbin/ldconfig
79
80
81%files
82%defattr(644, root, root, 0755)
83%doc AUTHORS COPYING
84%attr(755,root,root) %{_bindir}/x264
85%{_libdir}/libx264.so.*
86
87%files devel
88%defattr(644, root, root, 0755)
[5297]89%doc doc/*
[615]90%{_includedir}/x264.h
[3126]91%{_includedir}/x264_config.h
[615]92%{_libdir}/libx264.so
93%{_libdir}/pkgconfig/%{name}.pc
94
95
96
97%changelog
[9973]98* Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 0.148-1.20160122
99- updated source snapshot 20160122 stable branch (ABI 0.148)
100
[9663]101* Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.142-5.20141218
102- rebuilt
103
[9423]104* Mon Mar  9 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.142-4.20141218
105- rebuild
106
[9366]107* Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.142-3.20141218
108- rebuild
109
[9241]110* Sun Jan 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 0.142-2.20141218
111- Obsoletes: self-build-x264 < %{version}
112
[9215]113* Fri Dec 26 2014 Munehiro Yamamoto <munepi@vinelinux.org> 0.142-1.20141218
114- updated source snapshot 20141218 stable branch (ABI 0.142)
115
[7842]116* Sun Sep 29 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.136-1.20130927
117- updated source snapshot 20130927 stable branch (ABI 0.136)
118
119* Sat Jan 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 0.129-1.20130118
120- updated source snapshot 20130118 stable branch (ABI 0.129)
121
[6241]122* Sat May 26 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.124-1.20120525
123- updated source snapshot 20120525 stable branch (ABI 0.124)
124- changed release number; upstream have release numbers at least on stable branch
125
[5297]126* Sat Dec 17 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-18.20111216
127- updated source snapshot 20111216 stable branch (ABI 0.119)
128
129* Sun Oct 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-17.20111013
130- updated source snapshot 20111013 stable branch (ABI 0.116)
131
[4696]132* Thu Sep 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-16.20110322
133- change release to sync with self-build-x264
134
[3126]135* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-15.20110322
[5297]136- updated source snapshot 20110322 (ABI 0.114)
[3126]137
[1258]138* Sat Jun 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-14.20100625
139- updated source snapshot 20100625
140
[615]141* Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-13.20100216
142- change release to sync with self-build-x264
143
144* Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-12.20100216
145- updated source snapshot 20100216
146- applied to link x264 binary to the shared library from RPM Fusion development
147
148* Mon Sep 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.0-11.20090522
149- changed Source0: to http://www.videolan.org/pub/videolan/x264/snapshots
150
151* Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-10.20090522
152- change release to sync with self-build-x264
153
154* Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-9.20090522
155- 20090522 snapshot
156  - updated x264-vine.patch
157
158* Fri Mar 20 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-8.20090110
159- corrected release number
160
161* Sun Mar 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-6.20090110
162- added configure options: --enable-mp4-output
163- added BuildRequires: gpac-devel
164
165* Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-5.20090110
166- change release to sync with self-build-x264
167
168* Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-4.20090110
169- 20090110 snapshot
170
171* Thu Nov 13 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-3.20081001
172- fixed License: GPLv2+
173- added BuildRequires: gettext
174- source updated
175- fixed x264-rpm.patch (merged x264-rpm.patch from RPM Fusion)
176  and added x264-vine.patch
177#- changed version from 0.0.0-1.20080225 to 0.0.0-20081111.1
178
179* Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-2.20080225vl1
180- spec in utf8
181
182* Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.0-1.20080225
183- apply new versioning policy
184
185* Wed Feb 27 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.0-0.20080225vl1
186- initial build for Vine Linux 4.2
187
188* Sun Jan 20 2008 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.57-0.r721vlmp1
189- update to SVN r721
190
191* Sat Aug 4 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.56-0.r667vlmp1
192- initial build for Vine Linux 4.1
193
194### end of file
Note: See TracBrowser for help on using the repository browser.