]> git.pld-linux.org Git - packages/Eyescale-CMake.git/blob - Eyescale-CMake.spec
- macros for __python=python2
[packages/Eyescale-CMake.git] / Eyescale-CMake.spec
1 Summary:        CMake common macros for Eyescale projects
2 Summary(pl.UTF-8):      Wspólne makra CMake dla projektów Eyescale
3 Name:           Eyescale-CMake
4 Version:        2018.02
5 Release:        2
6 License:        BSD
7 Group:          Development/Tools
8 #Source0Download: https://github.com/Eyescale/CMake/releases
9 Source0:        https://github.com/Eyescale/CMake/archive/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  3c20d5ad6dbbe95ca1119ad36ae5f8e1
11 Patch0:         libdir.patch
12 URL:            https://github.com/Eyescale/CMake/
13 BuildRequires:  rpmbuild(macros) >= 1.745
14 BuildRequires:  sed >= 4.0
15 Requires:       cmake >= 2.8
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 CMake common macros for Eyescale projects (like Lunchbox, Collage or
21 Equalizer).
22
23 %description -l pl.UTF-8
24 Wspólne makra CMake dla projektów Eyescale (takich jak Lunchbox,
25 Collage czy Equalizer).
26
27 %prep
28 %setup -q -n CMake-%{version}
29 %patch0 -p1
30
31 # python2 script (uses e.g. dict iteritems(), itervalues() methods)
32 %{__sed} -i -e '1s,/usr/bin/python$,%{__python},' util/cpplint.py
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake
37
38 cp -a * $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake
39 %{__rm} $RPM_BUILD_ROOT%{_datadir}/Eyescale-CMake/{CHANGES.md,LICENSE.txt,README.md}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc CHANGES.md LICENSE.txt README.md
47 %{_datadir}/Eyescale-CMake
This page took 0.083441 seconds and 4 git commands to generate.