sampleicc/sampleicc.spec

96 lines
3.0 KiB
RPMSpec
Raw Normal View History

Name: sampleicc
Version: 1.6.8
Release: 1mamba
Summary: A C++ library for reading, writing, manipulating, and applying ICC profiles
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sampleicc.sourceforge.net/
Source: http://downloads.sourceforge.net/project/sampleicc/sampleicc%20tar/SampleIcc-%{version}/SampleICC-%{version}.tar.gz
License: Public Domain
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libSampleICC-tools
Obsoletes: libSampleICC-tools <= 1.6.4-2mamba
%description
SampleICC provides an open source platform independent C++ library for reading, writing, manipulating, and applying ICC profiles along with applications that make use of this library.
This package contains utility applications for %{name}.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries provided by %{name}
Provides: libSampleICC
Obsoletes: libSampleICC <= 1.6.4-2mamba
%description -n lib%{name}
SampleICC provides an open source platform independent C++ library for reading, writing, manipulating, and applying ICC profiles along with applications that make use of this library.
This package contains the shared libraries provided by %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libSampleICC-devel
Obsoletes: libSampleICC-devel <= 1.6.4-2mamba
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q -n SampleICC-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/create_*
%{_bindir}/extract_probe_data
%{_bindir}/flatten_AToB_tag
%{_bindir}/generate_device_codes
%{_bindir}/icc*
%{_bindir}/reconstruct_measurements
%{_bindir}/round_trip_PCS_LAB
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libICC_utils.so.*
%{_libdir}/libSampleICC.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/SampleICC
%{_includedir}/SampleICC/*
%{_libdir}/libICC_utils.a
%{_libdir}/libICC_utils.so
%{_libdir}/libSampleICC.a
%{_libdir}/libSampleICC.so
%{_libdir}/pkgconfig/sampleicc.pc
%doc ChangeLog NEWS README README.OSX
%changelog
* Mon Jan 20 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.8-1mamba
- update to 1.6.8
* Thu Oct 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-2mamba
- fixed -tools group
* Mon Mar 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-1mamba
- package created by autospec