[packages/intel-xed] - initial

qboosh qboosh at pld-linux.org
Sun Sep 22 19:16:05 CEST 2019


commit 1945ccde2329a47d1dd6f9ca338fbbed54cdb2b1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 22 19:19:00 2019 +0200

    - initial

 intel-xed.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
---
diff --git a/intel-xed.spec b/intel-xed.spec
new file mode 100644
index 0000000..350b834
--- /dev/null
+++ b/intel-xed.spec
@@ -0,0 +1,73 @@
+Summary:	Intel X86 Encoder Decoder (Intel XED)
+Summary(pl.UTF-8):	Dekoder/koder rozkazów procesorów Intel X86 (Intel XED)
+Name:		intel-xed
+Version:	11.0.1
+Release:	1
+License:	Apache v2.0
+Group:		Libraries
+#Source0Download: https://github.com/intelxed/xed/releases
+Source0:	https://github.com/intelxed/xed/archive/%{version}/xed-%{version}.tar.gz
+# Source0-md5:	79d1b08fce1b20042c604df52ac192a5
+%define	mbuild_gitref	f2de5e93ac318e223f6ec61c41f541171db0ada7
+%define	mbuild_snap	20190524
+Source1:	https://github.com/intelxed/mbuild/archive/%{mbuild_gitref}/mbuild-%{mbuild_snap}.tar.gz
+# Source1-md5:	ab8443e971e321968390261ddcd4a43f
+URL:		https://github.com/intelxed/xed
+BuildRequires:	python3 >= 1:3
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Intel X86 Encoder Decoder (Intel XED).
+
+%description -l pl.UTF-8
+Dekoder/koder rozkazów procesorów Intel X86 (Intel XED).
+
+%package devel
+Summary:	Header files for Intel XED libraries
+Summary(pl.UTF-8):	Pliki nagłówkowe bibliotek Intel XED
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for Intel XED libraries.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek Intel XED.
+
+%prep
+%setup -q -n xed-%{version} -a1
+%{__mv} mbuild-%{mbuild_gitref} mbuild
+
+%build
+PYTHONPATH=$(pwd)/mbuild \
+%{__python3} mfile.py install \
+	CC="%{__cc}" \
+	LINK="%{__cc}" \
+	--extra-ccflags="%{rpmcflags} %{rpmcppflags}" \
+	--extra-linkflags="%{rpmldflags}" \
+	--shared \
+	--verbose 6
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
+
+kit=$(echo kits/xed-install-base-*)
+install $kit/lib/lib*.so $RPM_BUILD_ROOT%{_libdir}
+cp -pr $kit/include/xed $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/libxed.so
+%attr(755,root,root) %{_libdir}/libxed-ild.so
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xed
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/intel-xed.git/commitdiff/1945ccde2329a47d1dd6f9ca338fbbed54cdb2b1



More information about the pld-cvs-commit mailing list