File yast2-slp-server.spec of Package yast2-slp-server
#
# spec file for package yast2-slp-server (Version 2.17.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Url: http://forge.novell.com/modules/xfmod/project/?yast
Name: yast2-slp-server
Version: 2.17.1
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-slp-server-2.17.1.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite
Requires: yast2
BuildArch: noarch
Summary: YaST2 SLP Daemon Server Configuration
%description
This package contains the YaST2 component for the configuration of an
SLP daemon.
Authors:
--------
Michal Zugec
%prep
%setup -n yast2-slp-server-2.17.1
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%dir /usr/share/YaST2/include/slp-server
/usr/share/YaST2/include/slp-server/*
/usr/share/YaST2/clients/slp-server.ycp
/usr/share/YaST2/clients/slp-server_*.ycp
/usr/share/YaST2/modules/SlpServer.*
%{prefix}/share/applications/YaST2/slp-server.desktop
/usr/share/YaST2/scrconf/slp*.scr
%doc %{prefix}/share/doc/packages/yast2-slp-server
%changelog
* Mon Sep 29 2008 mzugec@suse.de
- fixed menu category for gnome (bnc#429429)
- 2.17.1
* Mon Jul 21 2008 mzugec@suse.cz
- use correct cases for configuration options (bnc#291301)
- 2.17.0
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
(bnc #382778)
* Thu Apr 24 2008 mzugec@suse.cz
- fixed SCR agent for slp.reg.d/* files (bnc#374310)
- 2.16.2
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
- 2.16.1
* Tue Feb 26 2008 mzugec@suse.de
- check if network is running
- 2.16.0
* Mon Jul 16 2007 mzugec@suse.cz
- don't disable Scopes for "Becomes DA Server" option (#291307)
- don't use lowercase options in slp.conf (#291301)
- 2.15.0
* Tue Jun 12 2007 mzugec@suse.cz
- fixed server configuration handling (#257568)
- 2.14.2
* Tue Nov 21 2006 mzugec@suse.cz
- #219445 - slp-server with broken msgid
- 2.14.1
* Mon Oct 23 2006 mzugec@suse.cz
- #213878 - add description to desktop file
- 2.14.0
* Tue May 09 2006 mzugec@suse.cz
- fixed #173916 - add support for autoinstallation
* Thu May 04 2006 mzugec@suse.cz
- proofread
* Mon Apr 24 2006 mzugec@suse.cz
- testsuite
* Thu Mar 23 2006 mzugec@suse.cz
- fixed #160315 - check if user is root
* Tue Mar 21 2006 mzugec@suse.cz
- fixed #159653 - move package to net services group
* Fri Jan 20 2006 mzugec@suse.cz
- install packages
* Tue Jan 03 2006 mzugec@suse.cz
- functional version
* Thu Dec 22 2005 mzugec@suse.cz
- prepared to build
* Fri Dec 16 2005 mzugec@suse.cz
- initial version