LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File librts.spec of Package librts (Project home:d4vid:co17)

Name: librts4
Version: 201602111900
Summary: Runtime Support Library
Release: 0
License: GPL-3.0
Source: %{name}-%{version}.tar.bz2
Url: https://www.l2f.inesc-id.pt/~david/wiki/pt/index.php/Compiladores
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ yasm

%description
Runtime support library for CDK programs (to be linked with executables). 

%package devel
Summary: Runtime Support Library
Group: Development/Libraries/C and C++

%description devel
Runtime support library for CDK programs (to be linked with executables). 

%prep
%setup

%build
make clean
make ROOT= 


%install
mkdir -p $RPM_BUILD_ROOT%{_includedir}/rts
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/packages/rts
make install ROOT= INST_INC_DIR=$RPM_BUILD_ROOT%{_includedir}/rts INST_LIB_DIR=$RPM_BUILD_ROOT%{_prefix}/lib INST_DOC_DIR=$RPM_BUILD_ROOT%{_datadir}/doc/packages/rts

# files
cd $RPM_BUILD_ROOT
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' > $RPM_BUILD_DIR/file.list

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm $RPM_BUILD_DIR/file.list

%files -f ../file.list devel
%defattr(-,root,root)

%changelog