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: x264-xpra.spec

File x264-xpra.spec, 1.5 KB (added by pyther, 8 years ago)
Line 
1Name:        x264-xpra 
2Version:     20140612
3Release:     1%{?dist}
4Summary:     x264 library for xpra     
5
6Group:       Applications/Multimedia
7License:     GPL
8URL:         http://www.videolan.org/developers/x264.html
9Source0:     http://download.videolan.org/pub/x264/snapshots/x264-snapshot-%{version}-2245-stable.tar.bz2
10BuildRoot:   %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11
12BuildRequires:  yasm
13
14
15%if 0%{?fedora} || 0%{?rhel} >= 7
16BuildRequires: perl-Digest-MD5
17%endif
18
19%description
20x264 library for xpra
21
22%package devel
23Summary: Development files for the x264 library
24Group: Development/libraries
25Requires: %{name} = %{version}
26Requires: pkgconfig
27
28%description devel
29This package contains the development files for %{name}.
30
31
32%prep
33%setup -q -n x264-snapshot-%{version}-2245-stable
34
35
36%build
37./configure \
38    --prefix="%{_prefix}" \
39    --libdir="%{_libdir}/xpra" \
40    --includedir="%{_includedir}/xpra" \
41    --enable-shared
42    #--enable-static \
43
44make %{?_smp_mflags}
45
46
47%install
48rm -rf %{buildroot}
49make install DESTDIR=%{buildroot}
50
51# remove executable
52rm %{buildroot}/usr/bin/x264
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
57%clean
58rm -rf %{buildroot}
59
60%files
61%defattr(644,root,root,0755)
62%doc AUTHORS COPYING*
63%{_libdir}/xpra/libx264.so.*
64
65%files devel
66%defattr(644,root,root,0755)
67%{_includedir}/xpra/x264.h
68%{_includedir}/xpra/x264_config.h
69#%{_libdir}/xpra/libx264.a
70%{_libdir}/xpra/libx264.so
71%{_libdir}/xpra/pkgconfig/x264.pc
72
73%changelog
74* Mon Jul 14 2014 Matthew Gyurgyik <pyther@pyther.net>
75- initial package