fp@1810: #---------------------------------------------------------------------------- fp@1810: # fp@1810: # $Id$ fp@1810: # fp@1810: # Copyright (C) 2006-2010 Florian Pose, Ingenieurgemeinschaft IgH fp@1810: # fp@1810: # This file is part of the IgH EtherCAT Master. fp@1810: # fp@1810: # The IgH EtherCAT Master is free software; you can redistribute it and/or fp@1810: # modify it under the terms of the GNU General Public License version 2, as fp@1810: # published by the Free Software Foundation. fp@1810: # fp@1810: # The IgH EtherCAT Master is distributed in the hope that it will be useful, fp@1810: # but WITHOUT ANY WARRANTY; without even the implied warranty of fp@1810: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General fp@1810: # Public License for more details. fp@1810: # fp@1810: # You should have received a copy of the GNU General Public License along fp@1810: # with the IgH EtherCAT Master; if not, write to the Free Software fp@1810: # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA fp@1810: # fp@1810: # --- fp@1810: # fp@1810: # The license mentioned above concerns the source code only. Using the fp@1810: # EtherCAT technology and brand is only permitted in compliance with the fp@1810: # industrial property and similar rights of Beckhoff Automation GmbH. fp@1810: # fp@1810: # vim: tw=78 fp@1810: # fp@1810: #---------------------------------------------------------------------------- fp@1810: fp@1810: Name: @PACKAGE@ fp@1810: Version: @VERSION@ fp@1810: Release: 1 fp@1810: fp@1810: License: GPL fp@1810: URL: http://etherlab.org/en/ethercat fp@1810: fp@1810: Provides: @PACKAGE@ fp@1810: Source: %{name}-%{version}.tar.bz2 fp@1810: BuildRoot: /tmp/%{name}-%{version} fp@1810: fp@1810: #---------------------------------------------------------------------------- fp@1810: # Main Package fp@1810: #---------------------------------------------------------------------------- fp@1810: fp@1810: Summary: IgH EtherCAT Master fp@1810: Group: EtherLab fp@1810: fp@1810: %description fp@1810: This is an open-source EtherCAT master implementation for Linux 2.6. See the fp@1810: FEATURES file for a list of features. For more information, see fp@1810: http://etherlab.org/en/ethercat. fp@1810: fp@1810: #---------------------------------------------------------------------------- fp@1810: # Kernel module package fp@1810: #---------------------------------------------------------------------------- fp@1810: fp@1810: %package kmp-rt fp@1810: fp@1810: Summary: Realtime kernel modules for the EtherCAT master. fp@1810: Group: EtherLab fp@1810: fp@1810: Requires: kernel-rt fp@1810: fp@1810: BuildRequires: kernel-rt-devel fp@1810: BuildRequires: linux-kernel-headers fp@1810: fp@1810: %description kmp-rt fp@1810: This is an open-source EtherCAT master implementation for Linux 2.6. See the fp@1810: FEATURES file for a list of features. For more information, see fp@1810: http://etherlab.org/en/ethercat. fp@1810: fp@1810: #---------------------------------------------------------------------------- fp@1810: # Development package fp@1810: #---------------------------------------------------------------------------- fp@1810: fp@1810: %package devel fp@1810: fp@1810: Summary: Development files for applications that use the EtherCAT master. fp@1810: Group: EtherLab fp@1810: fp@1810: %description devel fp@1810: This is an open-source EtherCAT master implementation for Linux 2.6. See the fp@1810: FEATURES file for a list of features. For more information, see fp@1810: http://etherlab.org/en/ethercat. fp@1810: fp@1810: #---------------------------------------------------------------------------- fp@1810: fp@1810: %prep fp@1810: %setup fp@1810: fp@1810: %build fp@1810: %configure --enable-tty --enable-generic fp@1810: make all modules fp@1810: fp@1810: %install fp@1810: make DESTDIR=${RPM_BUILD_ROOT} install modules_install fp@1810: fp@1810: %clean fp@1810: rm -rf ${RPM_BUILD_ROOT} fp@1810: fp@1810: %files fp@1810: %defattr(-,root,root) fp@1810: %doc AUTHORS fp@1810: %doc COPYING fp@1810: %doc COPYING.LESSER fp@1810: %doc ChangeLog fp@1810: %doc FEATURES fp@1810: %doc INSTALL fp@1810: %doc NEWS fp@1810: %doc README fp@1810: %doc README.EoE fp@1810: /etc/init.d/ethercat fp@1810: /etc/sysconfig/ethercat fp@1810: /usr/bin/ethercat fp@1810: /usr/lib/libethercat.so* fp@1810: fp@1810: %files kmp-rt fp@1810: %defattr(-,root,root) fp@1810: /lib/modules/*/ethercat/*.ko fp@1810: /usr/share/@PACKAGE@/@LINUX_SYMVERS@ fp@1810: fp@1810: %files devel fp@1810: %defattr(-,root,root) fp@1810: /usr/include/*.h fp@1810: /usr/lib/libethercat.a fp@1810: /usr/lib/libethercat.la fp@1810: fp@1810: #----------------------------------------------------------------------------