Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:opennms
iplike
iplike.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iplike.spec of Package iplike
# # spec file for package iplike # # Copyright (c) 2014, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _libdir %(pg_config --pkglibdir) Name: iplike Version: 2.0.6 Release: 0 Summary: C implementation of the OpenNMS iplike stored procedure License: GPL-2.0 Group: Productivity/Databases/Servers Url: http://www.opennms.org/wiki/IPLIKE Source: http://sourceforge.net/projects/opennms/files/IPLIKE/stable-2.0/%{name}-%{version}.tar.gz BuildRequires: postgresql-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A C implementation of the stored procedure written in plpgsql that's bundled with OpenNMS, this is the preferred version for use as is offers better performance. %prep %setup -q -n %{name}-%{version} %build %configure make %{?_smp_mflags} %install %make_install find %{buildroot} -name '*.la' -delete %post if [ -z "$SKIP_IPLIKE_INSTALL" ]; then FAILED=0 echo -e "- installing iplike into the opennms db (if it exists)... \c" if %{_sbindir}/install_iplike.sh -s postgres -d opennms >>/tmp/install_iplike.log 2>&1; then echo "OK" else echo "failed" # FAILED=1 fi if [ $FAILED -eq 1 ]; then cat <<END !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! Failed to install iplike into the opennms database. See /tmp/install_iplike.log for details. To install iplike into your database, use the %{_sbindir}/install_iplike.sh script. See \`install_iplike.sh -h\` for more details. END exit 0 fi fi exit 0 %files %defattr(-,root,root) %{_sbindir}/install_iplike.sh %{_libdir}/iplike.so %changelog
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