Репозитории ALT
S: | 1.4.14-alt1 |
5.1: | 1.3.2-alt1 |
4.1: | 1.3.0-alt5 |
4.0: | 1.3.0-alt5 |
3.0: | 1.3.0-alt2 |
Группа :: Разработка/Tcl
Пакет: tcl-img
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define teaname img
%define major 1.3
Name: tcl-img
Version: 1.3.2
Release: alt1
Summary: Tcl Image Formats (Img)
License: BSD
Group: Development/Tcl
Url: http://tkimg.sf.net
Provides: %teaname = %version-%release
Obsoletes: %teaname
Source0: %name-%version-%release.tar
BuildRequires: rpm-build-tcl >= 0.4-alt1
BuildRequires: libjpeg-devel libpng-devel tk-devel zlib-devel
%description
%name is a Tk enhancement, adding support for many other Image formats:
BMP, XBM, XPM, GIF, PNG, JPEG, postscript and others.
%prep
%setup
find . -name pkgIndex.tcl.in| while read; do
%teapatch -C ${REPLY%%/*}
sed -i 's/ at lib at /%_lib/' ${REPLY}
done
%build
find . -name configure.in |while read; do
(cd ${REPLY%%/*} && autoconf)
done
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
find %buildroot%_tcldatadir -name pkgIndex.tcl|\
grep -v tkimg%major |while read; do
grep -v '^\#' $REPLY
rm -rf ${REPLY%%/*}
done >> %buildroot%_tcldatadir/tkimg%major/pkgIndex.tcl
find %buildroot '(' -path \*%_includedir/\* -o -path \*%_libdir/\*.sh \
-o -path \*%_libdir/\*.a ')' -delete
%files
%doc doc/*
%_tcllibdir/*.so
%_tcldatadir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define major 1.3
Name: tcl-img
Version: 1.3.2
Release: alt1
Summary: Tcl Image Formats (Img)
License: BSD
Group: Development/Tcl
Url: http://tkimg.sf.net
Provides: %teaname = %version-%release
Obsoletes: %teaname
Source0: %name-%version-%release.tar
BuildRequires: rpm-build-tcl >= 0.4-alt1
BuildRequires: libjpeg-devel libpng-devel tk-devel zlib-devel
%description
%name is a Tk enhancement, adding support for many other Image formats:
BMP, XBM, XPM, GIF, PNG, JPEG, postscript and others.
%prep
%setup
find . -name pkgIndex.tcl.in| while read; do
%teapatch -C ${REPLY%%/*}
sed -i 's/ at lib at /%_lib/' ${REPLY}
done
%build
find . -name configure.in |while read; do
(cd ${REPLY%%/*} && autoconf)
done
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
find %buildroot%_tcldatadir -name pkgIndex.tcl|\
grep -v tkimg%major |while read; do
grep -v '^\#' $REPLY
rm -rf ${REPLY%%/*}
done >> %buildroot%_tcldatadir/tkimg%major/pkgIndex.tcl
find %buildroot '(' -path \*%_includedir/\* -o -path \*%_libdir/\*.sh \
-o -path \*%_libdir/\*.a ')' -delete
%files
%doc doc/*
%_tcllibdir/*.so
%_tcldatadir/*
%changelog
…
Полный changelog можно просмотреть здесь