Update to 0.41 release
This commit is contained in:
parent
0bc83faa85
commit
4f5ad7b885
32
cockpit.spec
32
cockpit.spec
@ -4,7 +4,7 @@
|
||||
|
||||
# Our SELinux policy gets built in tests and f21 and lower
|
||||
%if %{defined gitcommit}
|
||||
%define extra_flags CFLAGS='-O2 -Wall -Werror'
|
||||
%define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC'
|
||||
%define selinux 1
|
||||
%endif
|
||||
%if 0%{?fedora} > 0 && 0%{?fedora} <= 21
|
||||
@ -18,7 +18,7 @@ Name: cockpit
|
||||
%if %{defined gitcommit}
|
||||
Version: %{gitcommit}
|
||||
%else
|
||||
Version: 0.40
|
||||
Version: 0.41
|
||||
%endif
|
||||
Release: 1%{?dist}
|
||||
Summary: A user interface for Linux servers
|
||||
@ -52,6 +52,8 @@ BuildRequires: docbook-style-xsl
|
||||
BuildRequires: keyutils-libs-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: glib-networking
|
||||
|
||||
BuildRequires: glib2-devel >= 2.37.4
|
||||
BuildRequires: systemd
|
||||
BuildRequires: polkit
|
||||
BuildRequires: pcp-libs-devel
|
||||
@ -137,6 +139,8 @@ This package contains the Cockpit shell UI assets.
|
||||
%package ws
|
||||
Summary: Cockpit Web Service
|
||||
Requires: glib-networking
|
||||
|
||||
Requires: glib2 >= 2.37.4
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
@ -170,6 +174,8 @@ make selinux
|
||||
make install-test-assets DESTDIR=%{buildroot}
|
||||
mkdir -p %{buildroot}/%{_datadir}/polkit-1/rules.d
|
||||
cp src/bridge/polkit-workarounds.rules %{buildroot}/%{_datadir}/polkit-1/rules.d
|
||||
%else
|
||||
rm -rf %{buildroot}/%{_datadir}/%{name}/playground
|
||||
%endif
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
||||
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
||||
@ -181,6 +187,7 @@ install -p -m 644 cockpit.pp %{buildroot}%{_datadir}/selinux/targeted/
|
||||
%endif
|
||||
%ifnarch x86_64
|
||||
rm -rf %{buildroot}/%{_datadir}/%{name}/docker
|
||||
rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
|
||||
%endif
|
||||
|
||||
%files
|
||||
@ -217,10 +224,10 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/docker
|
||||
( cd /var/lib/pcp/pmns && ./Rebuild -du )
|
||||
|
||||
%files shell
|
||||
%{_datadir}/%{name}/base
|
||||
%{_datadir}/%{name}/base1
|
||||
%{_datadir}/%{name}/legacy
|
||||
%{_datadir}/%{name}/shell
|
||||
%{_datadir}/%{name}/playground
|
||||
%{_datadir}/%{name}/server-systemd
|
||||
%{_datadir}/%{name}/system
|
||||
|
||||
%files ws
|
||||
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
||||
@ -266,6 +273,17 @@ This package is not yet complete.
|
||||
%files docker
|
||||
%{_datadir}/%{name}/docker
|
||||
|
||||
%package kubernetes
|
||||
Summary: Cockpit user interface for Kubernetes cluster
|
||||
Requires: kubernetes
|
||||
|
||||
%description kubernetes
|
||||
The Cockpit components for visualizing and configuring a Kubernetes
|
||||
cluster. Installed on the Kubernetes master. This package is not yet complete.
|
||||
|
||||
%files kubernetes
|
||||
%{_datadir}/%{name}/kubernetes
|
||||
|
||||
%endif
|
||||
|
||||
%if %{defined gitcommit}
|
||||
@ -279,6 +297,7 @@ This package contains programs and other files for testing Cockpit, and
|
||||
pulls in some necessary packages via dependencies.
|
||||
|
||||
%files test-assets
|
||||
%{_datadir}/%{name}/playground
|
||||
%{_datadir}/cockpit-test-assets
|
||||
%{_datadir}/polkit-1/rules.d
|
||||
/usr/lib/systemd/system/cockpit-testing.service
|
||||
@ -323,6 +342,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Mar 04 2015 Stef Walter <stefw@redhat.com> - 0.41-1
|
||||
- Update to 0.41 release
|
||||
|
||||
* Thu Feb 26 2015 Stef Walter <stefw@redhat.com> - 0.40-1
|
||||
- Update to 0.40 release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user