diff --git a/CharLS.spec b/CharLS.spec index 432bd80..4faf0b0 100644 --- a/CharLS.spec +++ b/CharLS.spec @@ -1,14 +1,14 @@ -Name: CharLS -Version: 2.0.0 -Release: 1%{?dist} -Summary: An optimized implementation of the JPEG-LS standard -License: BSD -URL: https://github.com/team-charls/charls -Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz - -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: cmake >= 2.6.0 +Name: CharLS +Version: 2.0.0 +Release: 1%{?dist} +Summary: An optimized implementation of the JPEG-LS standard +License: BSD +URL: https://github.com/team-charls/charls +Source0: https://github.com/team-charls/charls/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake >= 2.6.0 %description 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 result in vastly different performance characteristics. -%package devel -Summary: Libraries and headers for CharLS -Requires: %{name}%{?_isa} = %{version}-%{release} +%package devel +Summary: Libraries and headers for CharLS +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel CharLS Library Header Files and Link Libraries. @@ -32,13 +32,13 @@ CharLS Library Header Files and Link Libraries. %prep %autosetup -n charls-%{version} -rm CharLS*.sln* -v +%{__rm} CharLS*.sln* -v %build %cmake -DBUILD_SHARED_LIBS:BOOL=ON\ - -DCMAKE_BUILD_TYPE:STRING="Release"\ - -DCMAKE_VERBOSE_MAKEFILE=ON\ - -DBUILD_TESTING=ON . + -DCMAKE_BUILD_TYPE:STRING="Release"\ + -DCMAKE_VERBOSE_MAKEFILE=ON\ + -DBUILD_TESTING=ON . %make_build