10785N/A#
10785N/A# spec file for package SUNWlibdaemon
10785N/A#
10785N/A# includes module(s): libdaemon
10785N/A#
10785N/A# Copyright (c) 2006 Sun Microsystems, Inc.
10785N/A# This file and all modifications and additions to the pristine
10785N/A# package are under the same license as the package itself.
10785N/A#
17185N/A%define owner padraig
12717N/A#
10785N/A%include Solaris.inc
10785N/A
10785N/A%use libdaemon = libdaemon.spec
10785N/A
10785N/AName: SUNWlibdaemon
18688N/AIPS_package_name: library/libdaemon
18688N/AMeta(info.classification): %{classification_prefix}:System/Libraries
10785N/ASummary: Lightweight C library for UNIX daemons
10785N/AVersion: %{libdaemon.version}
10785N/ASUNW_BaseDir: %{_basedir}
10785N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12717N/ASUNW_Copyright: %{name}.copyright
19973N/ALicense: LGPL v2
10785N/A
10785N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10785N/A
10785N/A%package devel
10785N/ASummary: %{summary} - development files
10785N/ASUNW_BaseDir: %{_prefix}
10785N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10785N/A
10785N/A%prep
10785N/Arm -rf %name-%version
10785N/Amkdir %name-%version
10785N/A%libdaemon.prep -d %name-%version
10785N/A
10785N/A%build
10785N/APKG_CONFIG_DISABLE_UNISTALLED=
10785N/Aunset PKG_CONFIG_DISABLE_UNISTALLED
10785N/Aexport PKG_CONFIG_PATH=../libdaemon-%{libdaemon.version}:%{_pkg_config_path}
10785N/A
10785N/Aexport PKG_CONFIG_PATH32="$PKG_CONFIG_PATH"
10785N/A
10785N/Aexport PKG_CONFIG_PATH64=../libdaemon-%{libdaemon.version}-64:%{_pkg_config_path64}
10785N/A
10785N/A
10785N/Aexport CFLAGS="%optflags"
10785N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10785N/Aexport LDFLAGS="%_ldflags"
10785N/A
10785N/A%libdaemon.build -d %name-%version
10785N/A
10785N/A%install
10785N/A%libdaemon.install -d %name-%version
10785N/A
10785N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10785N/A
10785N/A%clean
10785N/Arm -rf $RPM_BUILD_ROOT
10785N/A
10785N/A%files
14228N/A%doc -d libdaemon-%{libdaemon.version} LICENSE README
10785N/A%defattr (-, root, other)
14406N/A%dir %attr (0755, root, sys) %{_datadir}
14406N/A%dir %attr (0755, root, other) %{_datadir}/doc
18220N/A%{_datadir}/doc/libdaemon/*
10785N/A%dir %attr (0755, root, bin) %{_libdir}
10785N/A%{_libdir}/libdaemon*.so*
10785N/A
10785N/A%files devel
10785N/A%defattr (-, root, other)
10785N/A%dir %attr (0755, root, bin) %{_libdir}
10785N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10785N/A%{_libdir}/pkgconfig/*
10785N/A%dir %attr (0755, root, bin) %{_includedir}
10785N/A%{_includedir}/*
10785N/A
10785N/A
10785N/A%changelog
19094N/A* Wed Nov 10 2010 - padraig.obriain@oracle.com
19094N/A- Add license tag.
14406N/A* Thu Sep 18 2008 - dave.lin@sun.com
14406N/A- Fix the attribute conflict of the dir %{_datadir}
14228N/A* Wed Sep 10 2008 - padraig.obriain@sun.com
14228N/A- Add %doc to %files for copyright
10785N/A* Mon May 29 2006 - padraig.obriain@sun.com
10785N/A- Initial spec file created.
19331N/A
19648N/A