Advertisement
Guest User

Untitled

a guest
Aug 17th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. Name: hdcs-server
  2. Version: 2.1.2
  3. Release: 1%{?dist}
  4. Summary: HEDP Control System Server
  5.  
  6. Group: HEDP/DCS/Server
  7. License: GPL3
  8. URL: http://[redacted]
  9. Source: hdcs-server.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11.  
  12. BuildRequires: gcc-c++
  13. BuildRequires: boost-devel
  14. BuildRequires: zeromq-devel
  15. BuildRequires: jsoncpp-devel
  16. BuildRequires: openssl-devel
  17.  
  18. Requires: zeromq
  19. Requires: boost
  20. Requires: openssl
  21.  
  22. %description
  23. The HEDP Distributed Control System is a control system used for automation,
  24. data acquisition, and control of the wide range of diagnostic equipment and
  25. hardware in the lab.
  26.  
  27. This package contains the server.
  28.  
  29. %package devel
  30. Summary: HEDP Control System Server Development Files
  31. Group: HEDP/DCS/Server
  32. Requires: %{name} = %{version}-%{release}
  33.  
  34. %description devel
  35. The HEDP Distributed Control System is a control system used for automation,
  36. data acquisition, and control of the wide range of diagnostic equipment and
  37. hardware in the lab.
  38.  
  39. This package contains the development files for building server modules.
  40.  
  41. %prep
  42. %setup -n hdcs-server
  43.  
  44. %build
  45. make %{?_smp_mflags}
  46.  
  47. %install
  48. make install DESTDIR=%{buildroot} INSTALL="install -p"
  49.  
  50. %post
  51. /sbin/chkconfig --add hdcs-server
  52.  
  53. %preun
  54. /sbin/chkconfig --del hdcs-server
  55.  
  56. %files
  57. %defattr(-,root,root,-)
  58. /usr/sbin/hdcs-server
  59. %dir /usr/lib/hdcs-server
  60. %dir /etc/hdcs
  61. %dir /etc/hdcs/module.d
  62. %config /etc/hdcs/server.conf
  63. /etc/init.d/hdcs-server
  64. /etc/logrotate.d/hdcs-server
  65.  
  66. %files devel
  67. %defattr(-,root,root,-)
  68. %dir /usr/include/hdcs
  69. /usr/include/hdcs/*.h
  70. /usr/include/Sigslot.h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement