Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %define debug_package %{nil}
- %define bin_path "/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/sbin:/opt/freeware/bin/:/usr/gnu/bin"
- Name : cfengine
- Summary : A tool to maintain complicated networks
- Version : 3.6.1
- Release : 1
- epoch : 201407231
- URL : http://www.cfengine.org
- Vendor : %{__spec_vendor}
- License : GPL
- Group : System Environment/Client Management
- Packager : R Bass <rbass23123@gmail.com>
- Distribution : %{__spec_distribution}
- Source : %{name}-%{version}.tar.gz
- BuildRoot : %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- %ifos linux
- Requires : tokyocabinet db4 openssl coreutils pcre
- BuildRequires : tokyocabinet tokyocabinet-devel db4 db4-devel openssl openssl-devel pcre-devel
- ExclusiveArch : i386 x86_64 ppc ppc64
- %endif
- %description
- Cfengine is the standalone, open-source datacenter management platform run by leading enterprises since 1993. Customize your IT systems, align to network, business and regulatory needs, monitor problems, automatically repair and maintain systems more effectively than with proprietary software. Cope with new and legacy systems and adopt on a phased basis. Cfengine yields reduced costs, improved efficiency and higher return on investment for the lowest cost of adoption in the industry!
- Authors:
- --------
- Mark Burgess
- %prep
- [ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
- mkdir -p %{buildroot}
- %setup -q
- %build
- export CFLAGS="-g -O2 -D_FORTIFY_SOURCE=0"
- make dist clean
- %configure \
- --prefix=/var/cfengine \
- --includedir=/usr/include \
- --libdir=/usr/lib64 \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --sbindir=/var/cfengine/bin \
- --with-tokyocabinet \
- --with-workdir=/var/cfengine \
- --with-openssl=/usr \
- --with-pcre \
- --without-mysql \
- --without-sql \
- --without-lmdb \
- --without-postgresql \
- --without-libvirt
- make
- make DESTDIR=${RPM_BUILD_ROOT} install
- %files
- %defattr(-,root,root)
- %{_mandir}/man?/*
- /var/cfengine/*
- %{_libdir}/libpromises.la
- %{_libdir}/libpromises.so*
- /usr/share/%{name}*
- %pre
- export PATH=$PATH:%bin_path
- %post
- export PATH=$PATH:%bin_path
- %changelog
- * Tue Jul 31 2014 R Bass <rbass23123@gmail.com>
- - build for 3.6.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement