|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: CharLS
|
|
|
|
|
Version: 1.0
|
|
|
|
|
Release: 0.1.b%{?dist}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: An optimized implementation of the JPEG-LS standard
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: BSD
|
|
|
|
@ -8,9 +8,10 @@ URL: http://charls.codeplex.com/
|
|
|
|
|
# CharLS uses an interactive download link that asks you to accept the
|
|
|
|
|
# (BSD-like) license before obtaining the source code.
|
|
|
|
|
# You can find the download link at http://charls.codeplex.com/
|
|
|
|
|
Source0: CharLS-1.0_beta.zip
|
|
|
|
|
Source0: CharLS-source-1.0.zip
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Patch0: libcharls_cmake_install.patch
|
|
|
|
|
Patch0: charls_add_cmake_install_target.patch
|
|
|
|
|
Patch1: charls_add_sharedlib_soname.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake >= 2.6.0
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
@ -33,12 +34,13 @@ result in vastly different performance characteristics.
|
|
|
|
|
rm CharLS.vcproj
|
|
|
|
|
rm CharLS.sln
|
|
|
|
|
|
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
dos2unix *.h
|
|
|
|
|
dos2unix *.c*
|
|
|
|
|
dos2unix *.txt
|
|
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake -DBUILD_SHARED_LIBS:BOOL=ON\
|
|
|
|
@ -89,8 +91,11 @@ CharLS Library Header Files and Link Libraries
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 3 2011 Mario Ceresa mrceresa@gmail.com CharLS 1.0-1
|
|
|
|
|
- Update to new version
|
|
|
|
|
|
|
|
|
|
* Wed Feb 17 2010 Mario Ceresa mrceresa@gmail.com CharLS 1.0-0.1.b
|
|
|
|
|
-
|
|
|
|
|
- Changed name schema to comply with pre-release packages
|
|
|
|
|
|
|
|
|
|
* Wed Feb 17 2010 Mario Ceresa mrceresa@gmail.com CharLS 1.0b-1
|
|
|
|
|
- Initial RPM Release
|
|
|
|
|