forked from pool/yast2-ntp-client
This commit is contained in:
parent
6b3f11e79f
commit
a2d8cb4bb9
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:308ac96b8ad65eef01fdd80aa28b714547e14d05e839de25af734a205f85158a
|
||||
size 129078
|
3
yast2-ntp-client-2.21.2.tar.bz2
Normal file
3
yast2-ntp-client-2.21.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcd3dded17f4f6facdfa2e0ff5f2a3fafc20713a58ea2e7865eaf78429f9d315
|
||||
size 129214
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package yast2-ntp-client
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@ -15,22 +15,20 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: yast2-ntp-client
|
||||
Version: 2.21.1
|
||||
Version: 2.21.2
|
||||
Release: 0
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: yast2-ntp-client-%{version}.tar.bz2
|
||||
|
||||
Prefix: /usr
|
||||
|
||||
Group: System/YaST
|
||||
License: GPL v2 or later
|
||||
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
|
||||
BuildRequires: perl-XML-Writer
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: yast2
|
||||
BuildRequires: yast2-country-data
|
||||
BuildRequires: yast2-devtools
|
||||
BuildRequires: yast2-testsuite
|
||||
#SLPAPI.pm
|
||||
# Hostname::CurrentDomain
|
||||
# Wizard::SetDesktopTitleAndIcon
|
||||
@ -40,6 +38,8 @@ Requires: yast2-country-data
|
||||
BuildArch: noarch
|
||||
|
||||
Summary: YaST2 - NTP Client Configuration
|
||||
License: GPL-2.0+
|
||||
Group: System/YaST
|
||||
|
||||
%description
|
||||
This package contains the YaST2 component for NTP client configuration.
|
||||
@ -48,23 +48,23 @@ This package contains the YaST2 component for NTP client configuration.
|
||||
%setup -n yast2-ntp-client-%{version}
|
||||
|
||||
%build
|
||||
%{prefix}/bin/y2tool y2autoconf
|
||||
%{prefix}/bin/y2tool y2automake
|
||||
%{_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}
|
||||
./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
|
||||
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
|
||||
# so that RPM_OPT_FLAGS check works
|
||||
make %{?jobs:-j%jobs} V=1
|
||||
|
||||
%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
|
||||
[ -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
|
||||
@ -81,9 +81,9 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
/usr/share/YaST2/scrconf/cfg_ntp.scr
|
||||
/usr/share/YaST2/scrconf/etc_ntp.scr
|
||||
/usr/share/YaST2/modules/*.y*
|
||||
%{prefix}/share/applications/YaST2/ntp-client.desktop
|
||||
%{_prefix}/share/applications/YaST2/ntp-client.desktop
|
||||
/usr/share/YaST2/data/ntp_servers.ycp
|
||||
%doc %{prefix}/share/doc/packages/yast2-ntp-client
|
||||
%doc %{_prefix}/share/doc/packages/yast2-ntp-client
|
||||
/usr/share/YaST2/schema/autoyast/rnc/ntpclient.rnc
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user