Convert tabs into spaces, also use one more macro

epel9
Devrim Gündüz 5 years ago
parent 3175e04a4b
commit b589bf6825

@ -1,14 +1,14 @@
Name: CharLS Name: CharLS
Version: 2.0.0 Version: 2.0.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: An optimized implementation of the JPEG-LS standard Summary: An optimized implementation of the JPEG-LS standard
License: BSD License: BSD
URL: https://github.com/team-charls/charls URL: https://github.com/team-charls/charls
Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake >= 2.6.0 BuildRequires: cmake >= 2.6.0
%description %description
An optimized implementation of the JPEG-LS standard for loss less and An optimized implementation of the JPEG-LS standard for loss less and
@ -22,9 +22,9 @@ compression ratios, similar to JPEG 2000. JPEG-LS is more similar to the old
loss less JPEG than to JPEG 2000, but interestingly the two different techniques loss less JPEG than to JPEG 2000, but interestingly the two different techniques
result in vastly different performance characteristics. result in vastly different performance characteristics.
%package devel %package devel
Summary: Libraries and headers for CharLS Summary: Libraries and headers for CharLS
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
CharLS Library Header Files and Link Libraries. CharLS Library Header Files and Link Libraries.
@ -32,13 +32,13 @@ CharLS Library Header Files and Link Libraries.
%prep %prep
%autosetup -n charls-%{version} %autosetup -n charls-%{version}
rm CharLS*.sln* -v %{__rm} CharLS*.sln* -v
%build %build
%cmake -DBUILD_SHARED_LIBS:BOOL=ON\ %cmake -DBUILD_SHARED_LIBS:BOOL=ON\
-DCMAKE_BUILD_TYPE:STRING="Release"\ -DCMAKE_BUILD_TYPE:STRING="Release"\
-DCMAKE_VERBOSE_MAKEFILE=ON\ -DCMAKE_VERBOSE_MAKEFILE=ON\
-DBUILD_TESTING=ON . -DBUILD_TESTING=ON .
%make_build %make_build

Loading…
Cancel
Save