!14 this version remove %{?dist} and rel_build
From: @zhuhong_bo Reviewed-by: @yueyaoqiang Signed-off-by: @yueyaoqiang
This commit is contained in:
commit
f1cbc8a7df
@ -1,35 +1,15 @@
|
|||||||
# Conditional for release and snapshot builds. Uncomment for release-builds.
|
|
||||||
%global rel_build 1
|
|
||||||
|
|
||||||
# This is needed, because src-url contains branched part of versioning-scheme.
|
|
||||||
%global branch 1.22
|
%global branch 1.22
|
||||||
|
|
||||||
# Settings used for build from snapshots.
|
|
||||||
%{!?rel_build:%global commit 922d0e0219b1bedcece8624e4b5fd7e15e7a9bd5}
|
|
||||||
%{!?rel_build:%global commit_date 20131113}
|
|
||||||
%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
|
|
||||||
%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
|
|
||||||
%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
|
|
||||||
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
|
|
||||||
|
|
||||||
Name: mate-control-center
|
Name: mate-control-center
|
||||||
Version: %{branch}.2
|
Version: %{branch}.2
|
||||||
%if 0%{?rel_build}
|
Release: 3
|
||||||
Release: 2%{?dist}
|
|
||||||
%else
|
|
||||||
Release: 0.13%{?git_rel}%{?dist}
|
|
||||||
%endif
|
|
||||||
Summary: MATE Desktop control-center
|
Summary: MATE Desktop control-center
|
||||||
License: LGPLv2+ and GPLv2+
|
License: LGPLv2+ and GPLv2+
|
||||||
URL: http://mate-desktop.org
|
URL: http://mate-desktop.org
|
||||||
|
|
||||||
# for downloading the tarball use 'spectool -g -R mate-control-center.spec'
|
# for downloading the tarball use 'spectool -g -R mate-control-center.spec'
|
||||||
# Source for release-builds.
|
# Source for release-builds.
|
||||||
%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
|
Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz
|
||||||
# Source for snapshot-builds.
|
|
||||||
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
|
|
||||||
|
|
||||||
# https://github.com/mate-desktop/mate-control-center/commit/3e4ccaf
|
|
||||||
Patch1: mate-control-center_0001-icons-Force-uniform-size-on-icons-505.patch
|
Patch1: mate-control-center_0001-icons-Force-uniform-size-on-icons-505.patch
|
||||||
|
|
||||||
BuildRequires: accountsservice-devel
|
BuildRequires: accountsservice-devel
|
||||||
@ -79,18 +59,7 @@ Development files for mate-control-center
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?rel_build}
|
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
%else
|
|
||||||
%autosetup -n %{name}-%{commit} -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?rel_build}
|
|
||||||
#NOCONFIGURE=1 ./autogen.sh
|
|
||||||
%else # 0%{?rel_build}
|
|
||||||
# needed for git snapshots
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
%endif # 0%{?rel_build}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -156,6 +125,9 @@ rm %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 11 2024 zhuhongbo <zhuhongbo@uniontech.com> - 1.22.2-3
|
||||||
|
- this version remove %{?dist} and rel_build
|
||||||
|
|
||||||
* Wed Oct 02 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.22.2-2
|
* Wed Oct 02 2019 Wolfgang Ulbrich <fedora@raveit.de> - 1.22.2-2
|
||||||
- use https://github.com/mate-desktop/mate-control-center/commit/3e4ccaf
|
- use https://github.com/mate-desktop/mate-control-center/commit/3e4ccaf
|
||||||
- force uniform size of icons in shell
|
- force uniform size of icons in shell
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user