Группа :: Система/Библиотеки
Пакет: liblcms
Главная Изменения Спек Патчи Загрузить Bugs and FR
%def_with M24
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: liblcms
Version: 1.14
Release: %_release
%define srcname lcms-%version
Summary: Little cms color engine
License: LGPL
Group: System/Libraries
Url: http://www.littlecms.com
Source: %url/%srcname.tar.bz2
Patch: %name-1.09-alt-build.patch
Provides: lcms = %version
Obsoletes: lcms
Prefix: %prefix
# Automatically added by buildreq on Thu Feb 21 2002
BuildRequires: libjpeg-devel libtiff-devel zlib-devel
%package devel
Summary: LCMS development environment
Group: Development/C
Requires: %name = %version-%release
Provides: lcms-devel = %version
Obsoletes: lcms-devel
%package devel-static
Summary: Static LCMS library
Group: Development/C
Requires: %name-devel = %version-%release
%package -n lcms-utils
Summary: Various %name-based utilities
Group: Graphics
Requires: %name = %version-%release
%description
This is a CMM engine to deal with color management stuff.
This package contains the library needed to run programs dynamically
linked with %name.
%description devel
This is a CMM engine to deal with color management stuff.
This package is only needed if you plan to develop or compile
applications which requires the LCMS library.
%description devel-static
This is a CMM engine to deal with color management stuff.
This package is only needed if you plan to develop or compile
statically linked applications which requires the LCMS library.
%description -n lcms-utils
This is a CMM engine to deal with color management stuff.
This package contains various %name-based utilities
%prep
%setup -q -n %srcname
find . -type f -exec chmod -x {} ';'
chmod a+x ./configure
r=$(echo -e \\r)
%__subst "s/$r//g;s/^AC_PROG_CXX//;s,python/Makefile,," configure.ac
%__subst "s/ python / /" Makefile.am
%build
%add_optflags -momit-leaf-frame-pointer
libtoolize --copy --force
aclocal
automake
autoconf
%configure --without-python
# SMP-incompatible
%make
%install
%makeinstall includedir=$RPM_BUILD_ROOT/%_includedir/lcms
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc AUTHORS NEWS README*
%_libdir/*.so.*
%files -n lcms-utils
%_bindir/*
%_man1dir/*
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%files devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь
%if_with M24
%define _release alt0.M24.1
%else
%define _release alt1
%endif
Name: liblcms
Version: 1.14
Release: %_release
%define srcname lcms-%version
Summary: Little cms color engine
License: LGPL
Group: System/Libraries
Url: http://www.littlecms.com
Source: %url/%srcname.tar.bz2
Patch: %name-1.09-alt-build.patch
Provides: lcms = %version
Obsoletes: lcms
Prefix: %prefix
# Automatically added by buildreq on Thu Feb 21 2002
BuildRequires: libjpeg-devel libtiff-devel zlib-devel
%package devel
Summary: LCMS development environment
Group: Development/C
Requires: %name = %version-%release
Provides: lcms-devel = %version
Obsoletes: lcms-devel
%package devel-static
Summary: Static LCMS library
Group: Development/C
Requires: %name-devel = %version-%release
%package -n lcms-utils
Summary: Various %name-based utilities
Group: Graphics
Requires: %name = %version-%release
%description
This is a CMM engine to deal with color management stuff.
This package contains the library needed to run programs dynamically
linked with %name.
%description devel
This is a CMM engine to deal with color management stuff.
This package is only needed if you plan to develop or compile
applications which requires the LCMS library.
%description devel-static
This is a CMM engine to deal with color management stuff.
This package is only needed if you plan to develop or compile
statically linked applications which requires the LCMS library.
%description -n lcms-utils
This is a CMM engine to deal with color management stuff.
This package contains various %name-based utilities
%prep
%setup -q -n %srcname
find . -type f -exec chmod -x {} ';'
chmod a+x ./configure
r=$(echo -e \\r)
%__subst "s/$r//g;s/^AC_PROG_CXX//;s,python/Makefile,," configure.ac
%__subst "s/ python / /" Makefile.am
%build
%add_optflags -momit-leaf-frame-pointer
libtoolize --copy --force
aclocal
automake
autoconf
%configure --without-python
# SMP-incompatible
%make
%install
%makeinstall includedir=$RPM_BUILD_ROOT/%_includedir/lcms
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc AUTHORS NEWS README*
%_libdir/*.so.*
%files -n lcms-utils
%_bindir/*
%_man1dir/*
%files devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%files devel-static
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь