xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #613: ffmpeg-xpra.spec

File ffmpeg-xpra.spec, 3.0 KB (added by pyther, 8 years ago)
Line 
1%global   real_name ffmpeg
2Name:        ffmpeg-xpra       
3Version:     2.2.3
4Release:     1%{?dist}
5Summary:     ffmpeg libraries for xpra 
6
7Group:       Applications/Multimedia
8License:     GPL
9URL:         http://www.ffmpeg.org
10Source0:     http://www.ffmpeg.org/releases/ffmpeg-%{version}.tar.bz2
11BuildRoot:   %(mktemp -ud %{_tmppath}/%{real_name}-%{version}-%{release}-XXXXXX)
12
13BuildRequires:  x264-xpra-devel
14BuildRequires:  yasm
15
16
17%if 0%{?fc19}
18BuildRequires: perl-podlators
19%endif
20
21%description
22ffmpeg libraries for xpra
23
24
25%package devel
26Summary:   Development package for %{real_name}
27Group:     Development/libraries
28Requires:  %{name} = %{version}-%{release}
29Requires:  pkgconfig
30
31%description devel
32This package contains the development files for %{name}.
33
34
35%prep
36%setup -q -n %{real_name}-%{version}
37
38
39%build
40# set pkg_config_path for xpra video libs
41./configure \
42    --prefix="%{_prefix}" \
43    --libdir="%{_libdir}/xpra" \
44    --shlibdir="%{_libdir}/xpra" \
45    --mandir="%{_mandir}" \
46    --incdir="%{_includedir}/xpra" \
47    --extra-cflags="-I%{_includedir}/xpra" \
48    --extra-ldflags="-L%{_libdir}/xpra" \
49    --enable-runtime-cpudetect \
50    --disable-avdevice \
51    --enable-pic \
52    --disable-zlib \
53    --disable-filters \
54    --disable-everything \
55    --disable-doc \
56    --disable-programs \
57    --enable-libx264 \
58    --enable-libvpx \
59    --enable-gpl \
60    --enable-decoder=h264 \
61    --enable-decoder=hevc \
62    --enable-decoder=vp8 \
63    --enable-decoder=vp9 \
64    --enable-shared \
65    --disable-symver
66    #--enable-static \
67
68make %{?_smp_mflags}
69
70
71%install
72rm -rf %{buildroot}
73make install DESTDIR=%{buildroot}
74
75#%post -p /sbin/ldconfig
76#%postun -p /sbin/ldconfig
77
78%clean
79rm -rf %{buildroot}
80
81
82%files
83%defattr(-,root,root,-)
84%doc COPYING* CREDITS README doc/ffserver.conf
85%{_libdir}/xpra/libavcodec.so.*
86%{_libdir}/xpra/libavfilter.so.*
87%{_libdir}/xpra/libavformat.so.*
88%{_libdir}/xpra/libavutil.so.*
89%{_libdir}/xpra/libpostproc.so.*
90%{_libdir}/xpra/libswresample.so.*
91%{_libdir}/xpra/libswscale.so.*
92
93
94%files devel
95%doc MAINTAINERS doc/APIchanges
96%defattr(-,root,root,-)
97%{_includedir}/xpra/libavcodec/
98%{_includedir}/xpra/libavfilter/
99%{_includedir}/xpra/libavformat/
100%{_includedir}/xpra/libavutil/
101%{_includedir}/xpra/libpostproc/
102%{_includedir}/xpra/libswresample/
103%{_includedir}/xpra/libswscale/
104%{_libdir}/xpra/libavcodec.a
105%{_libdir}/xpra/libavfilter.a
106%{_libdir}/xpra/libavformat.a
107%{_libdir}/xpra/libavutil.a
108%{_libdir}/xpra/libpostproc.a
109%{_libdir}/xpra/libswresample.a
110%{_libdir}/xpra/libswscale.a
111%{_libdir}/xpra/libavcodec.so
112%{_libdir}/xpra/libavfilter.so
113%{_libdir}/xpra/libavformat.so
114%{_libdir}/xpra/libavutil.so
115%{_libdir}/xpra/libpostproc.so
116%{_libdir}/xpra/libswresample.so
117%{_libdir}/xpra/libswscale.so
118%{_libdir}/xpra/pkgconfig/libavcodec.pc
119%{_libdir}/xpra/pkgconfig/libavfilter.pc
120%{_libdir}/xpra/pkgconfig/libavformat.pc
121%{_libdir}/xpra/pkgconfig/libavutil.pc
122%{_libdir}/xpra/pkgconfig/libpostproc.pc
123%{_libdir}/xpra/pkgconfig/libswresample.pc
124%{_libdir}/xpra/pkgconfig/libswscale.pc
125
126
127
128%changelog
129* Mon Jul 14 2014 Matthew Gyurgyik <pyther@pyther.net>
130- initial package