File libdtrace-ctf.spec of Package libdtrace-ctf

# spec file for package libdtrace-ctf
#
# Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.
#
# Licensed under the GNU General Public License (GPL), version 2. See the file
# COPYING in the top level of this tree.
%define _package_name libdtrace

Name: 			libdtrace-ctf
Version: 		1.0.0
Release:      	1%{?dist}
BuildArch: 		x86_64
License: 		GPLv2
Group:        	Development/Libraries
Summary:      	Compact Type Format library.
Source:         https://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/getPackage/libdtrace-ctf-0.8.0-1.el7.x86_64.rpm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides: 		libdtrace-ctf

%description
The Compact Type Format library provides a C-level representation of
a subset of the C type system.

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/include/sys
mkdir -p $RPM_BUILD_ROOT/usr/lib64
cd $RPM_BUILD_ROOT
rpm2cpio %{S:0} | cpio -i --make-directories


%files
%defattr(-,root,root,755)
%{_libdir}/libdtrace-ctf.so.*
%{_includedir}/sys/ctf_types.h

%changelog
openSUSE Build Service is sponsored by