From bed9b4708cfd3e742eaffae42b141541db090b74 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 21 Jan 2025 00:50:38 +0100 Subject: [PATCH] update to 1.6.8 [release 1.6.8-1mamba;Mon Jan 20 2025] --- README.md | 3 ++ sampleicc.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 sampleicc.spec diff --git a/README.md b/README.md index e330c0d..cb8fc30 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # sampleicc +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 sampleicc. + diff --git a/sampleicc.spec b/sampleicc.spec new file mode 100644 index 0000000..f0f32de --- /dev/null +++ b/sampleicc.spec @@ -0,0 +1,95 @@ +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 +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 1.6.8-1mamba +- update to 1.6.8 + +* Thu Oct 31 2013 Silvan Calarco 1.6.4-2mamba +- fixed -tools group + +* Mon Mar 26 2012 Silvan Calarco 1.6.4-1mamba +- package created by autospec