A new user interface for you! Read more...

File SampleICC.spec of Package SampleICC

Version:         1.6.6
Source:          SampleICC-1.6.6.tar.gz
Release:         0
Summary:         Color Management System
Name:            SampleICC
License:         BSD-3-Clause
Group:           Development/Libraries/Other
URL:             http://sourceforge.net/projects/sampleicc/
Vendor:          Kai-Uwe Behrmann
BuildRoot: %{_tmppath}/%{name}-root
Prefix:    %{_prefix}


BuildRequires:     gcc-c++ gettext doxygen graphviz pkgconfig  libpng-devel libjpeg-devel libtiff-devel libxml2-devel

%package -n lib%{name}1
Summary:   Colour Management System Libraries
Group:     Development/Libraries/Other

%package      -n lib%{name}-devel
Summary:   Headers, Configuration and static Libs + Documentation
Group:     Development/Libraries/Other


%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.


%description -n lib%{name}1
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.

%description -n lib%{name}-devel
Header files, libraries and documentation for development of Color Management
applications.


%prep
%setup -n %{name}-%{version}

%build
%configure

%install
rm -rf %{buildroot}
make %{_smp_mflags}
make DESTDIR=%{buildroot} install
rm -fr %{buildroot}/%{_datadir}/doc/%{name}
rm  %{buildroot}/%{_libdir}/lib*.la

%clean
rm -rf %{buildroot}

%post -n lib%{name}1
ldconfig

%postun -n lib%{name}1
ldconfig

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/*

%files -n lib%{name}1
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/lib%{name}.so.*
%{_libdir}/libICC_utils.so.*

%files -n lib%{name}-devel
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/lib%{name}.so
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/*
%{_libdir}/lib%{name}.a
%{_libdir}/libICC_utils.a
%{_libdir}/libICC_utils.so


%changelog