Changes of Revision 4
x265.spec
Changed
x
1
2
Url: https://bitbucket.org/multicoreware/x265/wiki/Home
3
Group: Productivity/Multimedia/Video/Editors and Convertors
4
Source0: %{name}-hg%{hgdate}.tar.bz2
5
-Source1: baselibs.conf
6
BuildRequires: gcc gcc-c++
7
BuildRequires: cmake >= 2.8.8
8
BuildRequires: pkg-config
9
10
mv "%{buildroot}/usr/lib" "%{buildroot}%{_libdir}"
11
%endif
12
13
-echo "%{libname}" > %{_sourcedir}/baselibs.conf
14
+rm -f %{buildroot}%{_libdir}/%{libname}.a
15
+
16
+echo "%{libname}-%{soname}" > %{_sourcedir}/baselibs.conf
17
18
%clean
19
%{?buildroot:%__rm -rf "%{buildroot}"}
20
21
%{_libdir}/%{libname}.so.%{soname}*
22
23
%files
24
-%defattr(0644,root,root)
25
+%defattr(0755,root,root)
26
%{_bindir}/%{name}
27
28
%files -n %{libname}-devel
29
30
%{_includedir}/%{name}_config.h
31
%{_libdir}/pkgconfig/%{name}.pc
32
%{_libdir}/%{libname}.so
33
-%{_libdir}/%{libname}.a
34
35
%changelog
36