|
|
|
@ -1,15 +1,14 @@
|
|
|
|
|
Name: CharLS
|
|
|
|
|
Version: 1.0
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Summary: An optimized implementation of the JPEG-LS standard
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://charls.codeplex.com/
|
|
|
|
|
URL: https://github.com/team-charls/charls
|
|
|
|
|
# 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-source-1.0.zip
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Patch0: charls_add_cmake_install_target.patch
|
|
|
|
|
Patch1: charls_add_sharedlib_soname.patch
|
|
|
|
|
Patch2: charls_fix_tests.patch
|
|
|
|
@ -54,44 +53,42 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
|
|
|
|
ctest .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc License.txt
|
|
|
|
|
%license License.txt
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries and headers for CharLS
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
|
|
CharLS Library Header Files and Link Libraries
|
|
|
|
|
CharLS Library Header Files and Link Libraries.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_includedir}/%{name}/
|
|
|
|
|
%{_includedir}/%{name}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 26 2016 Peter Lemenkov <lemenkov@gmail.com> - 1.0-11
|
|
|
|
|
- Spec-file cleanups
|
|
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|