Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: hdcs-server
- Version: 2.1.2
- Release: 1%{?dist}
- Summary: HEDP Control System Server
- Group: HEDP/DCS/Server
- License: GPL3
- URL: http://[redacted]
- Source: hdcs-server.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- BuildRequires: gcc-c++
- BuildRequires: boost-devel
- BuildRequires: zeromq-devel
- BuildRequires: jsoncpp-devel
- BuildRequires: openssl-devel
- Requires: zeromq
- Requires: boost
- Requires: openssl
- %description
- The HEDP Distributed Control System is a control system used for automation,
- data acquisition, and control of the wide range of diagnostic equipment and
- hardware in the lab.
- This package contains the server.
- %package devel
- Summary: HEDP Control System Server Development Files
- Group: HEDP/DCS/Server
- Requires: %{name} = %{version}-%{release}
- %description devel
- The HEDP Distributed Control System is a control system used for automation,
- data acquisition, and control of the wide range of diagnostic equipment and
- hardware in the lab.
- This package contains the development files for building server modules.
- %prep
- %setup -n hdcs-server
- %build
- make %{?_smp_mflags}
- %install
- make install DESTDIR=%{buildroot} INSTALL="install -p"
- %post
- /sbin/chkconfig --add hdcs-server
- %preun
- /sbin/chkconfig --del hdcs-server
- %files
- %defattr(-,root,root,-)
- /usr/sbin/hdcs-server
- %dir /usr/lib/hdcs-server
- %dir /etc/hdcs
- %dir /etc/hdcs/module.d
- %config /etc/hdcs/server.conf
- /etc/init.d/hdcs-server
- /etc/logrotate.d/hdcs-server
- %files devel
- %defattr(-,root,root,-)
- %dir /usr/include/hdcs
- /usr/include/hdcs/*.h
- /usr/include/Sigslot.h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement