[packages/Eyescale-CMake] - up to 2016.12
baggins
baggins at pld-linux.org
Fri Apr 14 15:45:11 CEST 2017
commit 580f922e830fcd8200131a1db9962c689c35ceb5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Apr 14 15:45:01 2017 +0200
- up to 2016.12
Eyescale-CMake.spec | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/Eyescale-CMake.spec b/Eyescale-CMake.spec
index 4972d9d..ae5b58a 100644
--- a/Eyescale-CMake.spec
+++ b/Eyescale-CMake.spec
@@ -1,13 +1,12 @@
Summary: CMake common macros for Eyescale projects
Summary(pl.UTF-8): Wspólne makra CMake dla projektów Eyescale
Name: Eyescale-CMake
-Version: 2016.04
-%define gitref 0e519bfbbf74bb30a17c75d5c4c4d0266f5d272b
+Version: 2016.12
Release: 1
License: BSD
Group: Development/Tools
-Source0: https://github.com/Eyescale/CMake/archive/%{gitref}/Eyescale-CMake-%{gitref}.tar.gz
-# Source0-md5: b121851bcee76d6e99abdacf54a4512c
+Source0: https://github.com/Eyescale/CMake/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 29bbcd13dc912ed0c8fbfe474f050f2c
Patch0: libdir.patch
URL: https://github.com/Eyescale/CMake/
Requires: cmake >= 2.8
@@ -23,19 +22,15 @@ Wspólne makra CMake dla projektów Eyescale (takich jak Lunchbox,
Collage czy Equalizer).
%prep
-%setup -q -c
-
-%{__mv} CMake-* common
+%setup -q -n CMake-%{version}
%patch0 -p1
-%{__rm} common/.gitignore
-%{__mv} common/{CHANGES.md,LICENSE.txt,README.md} .
-
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}
+install -d $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake/common
-cp -a common $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake
+cp -a * $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake/common
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake/common/{CHANGES.md,LICENSE.txt,README.md}
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Eyescale-CMake.git/commitdiff/580f922e830fcd8200131a1db9962c689c35ceb5
More information about the pld-cvs-commit
mailing list