Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:repabuild:withupdates
ethercat
ethercat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ethercat.spec of Package ethercat
Name: ethercat Version: 1.6.1 Release: 1 Summary: Tools and utilities for EtherCAT Master Group: System/Daemons License: GPLv2 URL: http://www.etherlab.org Source0: http://www.etherlab.org/download/ethercat/ethercat-%{version}.tar.bz2 Source1: dkms.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora_version} == 0 Prereq: /sbin/ldconfig Prereq: %fillup_prereq %endif BuildRequires: gcc gcc-c++ coreutils module-init-tools # BuildRequires: doxygen BuildRequires: autoconf automake libtool # BuildRequires: graphviz BuildRequires: pkgconfig %if 0%{?fedora_version} >= 28 BuildRequires: elfutils-libelf-devel %endif BuildRequires: systemd BuildRequires: cmake # BuildRequires: texlive-latex # BuildRequires: texlive-base # BuildRequires: texlive-nomencl # BuildRequires: texlive-rcsinfo # BuildRequires: texlive-SIunits # BuildRequires: texlive-metafont # BuildRequires: texlive-ec # BuildRequires: texlive-babel-french # BuildRequires: transfig # BuildRequires: inkscape %package -n libethercat1 Summary: Userspace library for ethercat Group: System/Libraries %package -n libethercat-devel Summary: Userspace library for ethercat Group: Development/Libraries/C and C++ Requires: libethercat1 = %{version} %package dkms Summary: Kernel module for Ethercat Master Group: System/Kernel Requires: dkms %description EtherCAT is the open real-time Ethernet network originally developed by Beckhoff. EtherCAT sets new standards for real-time performance and topology flexibility. This package contains the tools and utilities for EtherCAT on Linux %description -n libethercat1 Library for Ethercat master %description -n libethercat-devel Development and header files for Ethercat master %description dkms Kernel source for Ethercat master %prep %setup %build # change the autoconf version to include the git cycle sed -i.bak -e 's/1\.5\.2/%{version}/' configure.ac ./bootstrap %configure --disable-kernel # doxygen -u # make all doc # pushd documentation # make # popd %install # mv doxygen-output/html . # mv AUTHORS COPYING COPYING.LESSER FEATURES README TODO ChangeLog .. make install DESTDIR=%buildroot %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif install -d %buildroot%_fillupdir mv %buildroot%{_sysconfdir}/sysconfig/ethercat \ %buildroot%{_fillupdir}/sysconfig.ethercat rmdir %buildroot%{_sysconfdir}/sysconfig rm %buildroot%{_libdir}/*.la # install a copy of the source in the /usr/src tree install -d %{buildroot}/usr/src tar --directory=%{buildroot}/usr/src --exclude=.libs -xvf %{SOURCE0} # set the right version in the dkms.conf file cat %{SOURCE1} | sed -e s/@version@/%{version}/ > \ %{buildroot}/usr/src/ethercat-%{version}/dkms.conf %post %fillup_only %post -n libethercat1 /sbin/ldconfig %preun %stop_on_removal ethercat %postun -n libethercat1 /sbin/ldconfig %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING COPYING.LESSER FEATURES.md README.md TODO ChangeLog # documentation/ethercat_doc.pdf %config %{_sysconfdir}/ethercat.conf %{_fillupdir}/sysconfig.ethercat %{_sysconfdir}/init.d/ethercat %{_bindir}/ethercat %{_sbindir}/ethercatctl /usr/lib/systemd %{_datadir}/bash-completion/completions/ethercat %files -n libethercat1 %defattr(-,root,root,-) %{_libdir}/libethercat.so.* %files -n libethercat-devel %defattr(-,root,root,-) %{_libdir}/libethercat.a %{_libdir}/libethercat.so %{_libdir}/pkgconfig/libethercat.pc %dir %{_libdir}/cmake/ethercat %{_libdir}/cmake/ethercat/ethercat-config.cmake %{_includedir}/ecrt.h %{_includedir}/ectty.h %files dkms %defattr(-,root,root,-) /usr/src/%{name}-%{version}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor