diff --git a/README.md b/README.md index de5f88d..60b4403 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libSampleICC +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. + diff --git a/libSampleICC.spec b/libSampleICC.spec new file mode 100644 index 0000000..e00773b --- /dev/null +++ b/libSampleICC.spec @@ -0,0 +1,108 @@ +Name: libSampleICC +Version: 1.6.4 +Release: 2mamba +Summary: A C++ library for reading, writing, manipulating, and applying ICC profiles +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://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: libjpeg-devel +BuildRequires: libstdc++6-devel +BuildRequires: libtiff-devel +BuildRequires: libz-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%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. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Development +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%prep +%setup -q -n SampleICC-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libICC_utils.so.* +%{_libdir}/libSampleICC.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/SampleICC +%{_includedir}/SampleICC/* +%{_libdir}/libICC_utils.a +%{_libdir}/libICC_utils.la +%{_libdir}/libICC_utils.so +%{_libdir}/libSampleICC.a +%{_libdir}/libSampleICC.la +%{_libdir}/libSampleICC.so +%{_libdir}/pkgconfig/sampleicc.pc +%doc ChangeLog NEWS README README.OSX + +%files tools +%defattr(-,root,root) +%{_bindir}/create_CLUT_profile +%{_bindir}/create_CLUT_profile_from_probe +%{_bindir}/create_display_profile +%{_bindir}/create_pretransform_curve +%{_bindir}/create_probe +%{_bindir}/extract_probe_data +%{_bindir}/flatten_AToB_tag +%{_bindir}/generate_device_codes +%{_bindir}/iccApplyNamedCmm +%{_bindir}/iccApplyProfiles +%{_bindir}/iccDumpProfile +%{_bindir}/iccGamutMapGirdle +%{_bindir}/iccProfLibTest +%{_bindir}/iccRoundTrip +%{_bindir}/iccStripUnknownTags +%{_bindir}/iccV4ToMPE +%{_bindir}/reconstruct_measurements +%{_bindir}/round_trip_PCS_LAB + +%changelog +* 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