Update to 0.44 release
This commit is contained in:
parent
a538d9b3d8
commit
82faf9f91f
54
cockpit.spec
54
cockpit.spec
@ -23,7 +23,7 @@ Name: cockpit
|
|||||||
%if %{defined gitcommit}
|
%if %{defined gitcommit}
|
||||||
Version: %{gitcommit}
|
Version: %{gitcommit}
|
||||||
%else
|
%else
|
||||||
Version: 0.43
|
Version: 0.44
|
||||||
%endif
|
%endif
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A user interface for Linux servers
|
Summary: A user interface for Linux servers
|
||||||
@ -57,6 +57,7 @@ BuildRequires: docbook-style-xsl
|
|||||||
BuildRequires: keyutils-libs-devel
|
BuildRequires: keyutils-libs-devel
|
||||||
BuildRequires: dbus-devel
|
BuildRequires: dbus-devel
|
||||||
BuildRequires: glib-networking
|
BuildRequires: glib-networking
|
||||||
|
BuildRequires: sed
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.37.4
|
BuildRequires: glib2-devel >= 2.37.4
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
@ -137,7 +138,10 @@ Cockpit support for reading PCP metrics and loading PCP archives.
|
|||||||
Summary: Cockpit Shell user interface package
|
Summary: Cockpit Shell user interface package
|
||||||
Requires: %{name}-bridge = %{version}-%{release}
|
Requires: %{name}-bridge = %{version}-%{release}
|
||||||
Requires: NetworkManager
|
Requires: NetworkManager
|
||||||
|
Requires: shadow-utils
|
||||||
|
Requires: expect
|
||||||
Requires: grep
|
Requires: grep
|
||||||
|
Requires: /usr/bin/date
|
||||||
Provides: %{name}-assets
|
Provides: %{name}-assets
|
||||||
Obsoletes: %{name}-assets < 0.32
|
Obsoletes: %{name}-assets < 0.32
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -187,7 +191,7 @@ make selinux
|
|||||||
# make check
|
# make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
make install DESTDIR=%{buildroot} DBGDIR=/debug
|
||||||
%if %{defined gitcommit}
|
%if %{defined gitcommit}
|
||||||
make install-test-assets DESTDIR=%{buildroot}
|
make install-test-assets DESTDIR=%{buildroot}
|
||||||
mkdir -p %{buildroot}/%{_datadir}/polkit-1/rules.d
|
mkdir -p %{buildroot}/%{_datadir}/polkit-1/rules.d
|
||||||
@ -203,10 +207,26 @@ install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/
|
|||||||
install -d %{buildroot}%{_datadir}/selinux/targeted
|
install -d %{buildroot}%{_datadir}/selinux/targeted
|
||||||
install -p -m 644 cockpit.pp %{buildroot}%{_datadir}/selinux/targeted/
|
install -p -m 644 cockpit.pp %{buildroot}%{_datadir}/selinux/targeted/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Build the package lists for resource packages
|
||||||
|
find %{buildroot}%{_datadir}/%{name}/base1 %{buildroot}%{_datadir}/%{name}/legacy %{buildroot}%{_datadir}/%{name}/shell %{buildroot}%{_datadir}/%{name}/system -type f > shell.list
|
||||||
|
find %{buildroot}%{_datadir}/%{name}/subscriptions -type f > subscriptions.list
|
||||||
%ifnarch x86_64
|
%ifnarch x86_64
|
||||||
rm -rf %{buildroot}/%{_datadir}/%{name}/docker
|
rm -rf %{buildroot}/%{_datadir}/%{name}/docker
|
||||||
rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
|
rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
|
||||||
|
%else
|
||||||
|
find %{buildroot}%{_datadir}/%{name}/docker -type f > docker.list
|
||||||
|
find %{buildroot}%{_datadir}/%{name}/kubernetes -type f > kubernetes.list
|
||||||
%endif
|
%endif
|
||||||
|
sed -i "s|%{buildroot}||" *.list
|
||||||
|
|
||||||
|
# Build the package lists for debug package
|
||||||
|
find %{buildroot}/debug%{_datadir}/%{name} -type f > debug.list
|
||||||
|
sed -i "s|%{buildroot}/debug||" debug.list
|
||||||
|
|
||||||
|
# Move the debug files into place mixed in with the other files
|
||||||
|
tar -C %{buildroot}/debug -cf - . | tar -C %{buildroot} -xf -
|
||||||
|
rm -rf %{buildroot}/debug
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_docdir}/%{name}/AUTHORS
|
%{_docdir}/%{name}/AUTHORS
|
||||||
@ -228,6 +248,8 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
|
|||||||
%{_datadir}/dbus-1/services/com.redhat.Cockpit.service
|
%{_datadir}/dbus-1/services/com.redhat.Cockpit.service
|
||||||
%{_libexecdir}/cockpitd
|
%{_libexecdir}/cockpitd
|
||||||
|
|
||||||
|
%files debuginfo -f debug.list
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%exclude %{_docdir}/%{name}/AUTHORS
|
%exclude %{_docdir}/%{name}/AUTHORS
|
||||||
%exclude %{_docdir}/%{name}/COPYING
|
%exclude %{_docdir}/%{name}/COPYING
|
||||||
@ -241,14 +263,17 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
|
|||||||
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185749
|
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185749
|
||||||
( cd /var/lib/pcp/pmns && ./Rebuild -du )
|
( cd /var/lib/pcp/pmns && ./Rebuild -du )
|
||||||
|
|
||||||
%files shell
|
%files shell -f shell.list
|
||||||
%{_datadir}/%{name}/base1
|
%dir %{_datadir}/%{name}/base1
|
||||||
%{_datadir}/%{name}/legacy
|
%dir %{_datadir}/%{name}/base1/fonts
|
||||||
%{_datadir}/%{name}/shell
|
%dir %{_datadir}/%{name}/base1/images
|
||||||
%{_datadir}/%{name}/system
|
%dir %{_datadir}/%{name}/legacy
|
||||||
|
%dir %{_datadir}/%{name}/shell
|
||||||
|
%dir %{_datadir}/%{name}/shell/images
|
||||||
|
%dir %{_datadir}/%{name}/system
|
||||||
|
|
||||||
%files subscriptions
|
%files subscriptions -f subscriptions.list
|
||||||
%{_datadir}/%{name}/subscriptions
|
%dir %{_datadir}/%{name}/subscriptions
|
||||||
|
|
||||||
%files ws
|
%files ws
|
||||||
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
||||||
@ -291,8 +316,8 @@ Requires: docker
|
|||||||
The Cockpit components for interacting with Docker and user interface.
|
The Cockpit components for interacting with Docker and user interface.
|
||||||
This package is not yet complete.
|
This package is not yet complete.
|
||||||
|
|
||||||
%files docker
|
%files docker -f docker.list
|
||||||
%{_datadir}/%{name}/docker
|
%dir %{_datadir}/%{name}/docker
|
||||||
|
|
||||||
%package kubernetes
|
%package kubernetes
|
||||||
Summary: Cockpit user interface for Kubernetes cluster
|
Summary: Cockpit user interface for Kubernetes cluster
|
||||||
@ -302,8 +327,8 @@ Requires: kubernetes
|
|||||||
The Cockpit components for visualizing and configuring a Kubernetes
|
The Cockpit components for visualizing and configuring a Kubernetes
|
||||||
cluster. Installed on the Kubernetes master. This package is not yet complete.
|
cluster. Installed on the Kubernetes master. This package is not yet complete.
|
||||||
|
|
||||||
%files kubernetes
|
%files kubernetes -f kubernetes.list
|
||||||
%{_datadir}/%{name}/kubernetes
|
%dir %{_datadir}/%{name}/kubernetes
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -363,6 +388,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 20 2015 Stef Walter <stefw@redhat.com> - 0.44-1
|
||||||
|
- Update to 0.44 release
|
||||||
|
|
||||||
* Thu Mar 19 2015 Stef Walter <stefw@redhat.com> - 0.43-2
|
* Thu Mar 19 2015 Stef Walter <stefw@redhat.com> - 0.43-2
|
||||||
- Don't break EPEL or CentOS builds due to missing branding
|
- Don't break EPEL or CentOS builds due to missing branding
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user