THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

237892: openexr22-2.2.0-alt4 +3 more

- create compatibility package

ilmbase-2.3.0-alt1

- new version

ilmbase12-2.2.0-alt2

- create compatibility package

openexr-2.3.0-alt1

- new version
master
Sergey V Turchin 4 weeks ago
parent
commit
9d4c684d35
4 changed files with 425 additions and 47 deletions
  1. 24
    14
      i/ilmbase/ilmbase.spec
  2. 199
    0
      i/ilmbase12/ilmbase.spec
  3. 19
    33
      o/openexr/openexr.spec
  4. 183
    0
      o/openexr22/openexr.spec

+ 24
- 14
i/ilmbase/ilmbase.spec View File

@@ -1,9 +1,9 @@
%define libsover 12
%define libsover 24
%define rname IlmBase

Name: ilmbase
Version: 2.2.0
Release: alt1.1
Version: 2.3.0
Release: alt1

%define common %name%libsover-common
%define libhalf libhalf%libsover
@@ -26,16 +26,16 @@ Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release

Source: %name-%version.tar
# FC
Patch1: ilmbase-2.2.0-glibc_iszero.patch
Patch2: ilmbase-2.2.0-no_undefined.patch
# ALT
Patch10: ilmbase-2.1.0-alt-linking.patch
Patch11: ilmbase-2.1.0-alt-cmakefiles.patch
Patch12: ilmbase-2.1.0-alt-pkgconfig.patch
Patch10: ilmbase-2.1.0-alt-pkgconfig.patch

# Automatically added by buildreq on Wed Apr 20 2011 (-bi)
# optimized out: elfutils libGL-devel libstdc++-devel pkg-config
#BuildRequires: gcc-c++ glibc-devel libGLU-devel libstdc++-devel
BuildRequires: gcc-c++ glibc-devel libGLU-devel zlib-devel
BuildRequires: cmake kde-common-devel

%description
Half is a class that encapsulates our 16-bit floating-point format.
@@ -110,17 +110,24 @@ developing applications with %name

%prep
%setup -q -n %name-%version
%patch1 -p1
%patch2 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

sed -i -E 's|[[:space:]]+DESTINATION[[:space:]]+lib$| DESTINATION %_lib|' */CMakeLists.txt

%build
%Kcmake
%Kmake
%configure \
--disable-static \
#
%make_build \
PTHREAD_LIBS="-pthread -lpthread" \
LIBS="-pthread -lpthread" \
#

%install
%Kinstall
%makeinstall_std
# DESTDIR=%buildroot

# create compatibility symlinks
for f in %buildroot/%_libdir/lib*.so ; do
@@ -133,7 +140,7 @@ done
%files -n %common

%files
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README
%doc AUTHORS ChangeLog LICENSE NEWS README*

%files -n %libhalf
%_libdir/libHalf.so.%libsover
@@ -156,13 +163,16 @@ done
%_libdir/libIexMath-*.so.%libsover.*

%files devel
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README
%doc AUTHORS ChangeLog LICENSE NEWS README*
%_includedir/OpenEXR
%_libdir/*.so
%_libdir/pkgconfig/*


%changelog
* Fri Sep 20 2019 Sergey V Turchin <zerg@altlinux.org> 2.3.0-alt1
- new version

* Mon Jun 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 2.2.0-alt1.1
- Rebuilt for gcc5 C++11 ABI.


+ 199
- 0
i/ilmbase12/ilmbase.spec View File

@@ -0,0 +1,199 @@
%define libsover 12
%define rname IlmBase

Name: ilmbase12
Version: 2.2.0
Release: alt2

%define common %name-common
%define libhalf libhalf%libsover
%define libiex libiex%libsover
%define libilmthread libilmthread%libsover
%define libimath libimath%libsover
%define libiexmath libiexmath%libsover

Group: System/Libraries
Summary: A high-dynamic-range image file library
License: Modified BSD
URL: http://www.openexr.org/

Requires: %libhalf
Requires: %libiex
Requires: %libilmthread
Requires: %libimath
Requires: %libiexmath
Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release

Source: ilmbase-%version.tar
# ALT
Patch10: ilmbase-2.1.0-alt-linking.patch
Patch11: ilmbase-2.1.0-alt-cmakefiles.patch
Patch12: ilmbase-2.1.0-alt-pkgconfig.patch

# Automatically added by buildreq on Wed Apr 20 2011 (-bi)
# optimized out: elfutils libGL-devel libstdc++-devel pkg-config
#BuildRequires: gcc-c++ glibc-devel libGLU-devel libstdc++-devel
BuildRequires: gcc-c++ glibc-devel libGLU-devel zlib-devel
BuildRequires: cmake kde-common-devel

%description
Half is a class that encapsulates our 16-bit floating-point format.

IlmThread is a thread abstraction library for use with OpenEXR
and other software packages. It currently supports pthreads and
Windows threads.

Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
and other useful 2D and 3D math functions.

Iex is an exception-handling library.

%package -n %common
Group: System/Configuration/Other
Summary: Common empty package for %name
%description -n %common
Common empty package for %name

%package -n %libhalf
Group: System/Libraries
Summary: %rname library
Requires: %common = %version-%release
Conflicts: ilmbase <= 1.0.1-alt1
%description -n %libhalf
Half is a class that encapsulates our 16-bit floating-point format.

%package -n %libiex
Group: System/Libraries
Summary: %rname library
Requires: %common = %version-%release
Conflicts: ilmbase <= 1.0.1-alt1
%description -n %libiex
Iex is an exception-handling library.

%package -n %libilmthread
Group: System/Libraries
Summary: %rname library
Requires: %common = %version-%release
Conflicts: ilmbase <= 1.0.1-alt1
%description -n %libilmthread
IlmThread is a thread abstraction library for use with OpenEXR
and other software packages. It currently supports pthreads and
Windows threads.

%package -n %libimath
Group: System/Libraries
Summary: %rname library
Requires: %common = %version-%release
Conflicts: ilmbase <= 1.0.1-alt1
%description -n %libimath
Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
and other useful 2D and 3D math functions.

%package -n %libiexmath
Group: System/Libraries
Summary: %rname library
Requires: %common = %version-%release
%description -n %libiexmath
Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
and other useful 2D and 3D math functions.

%package devel
Summary: Headers for developing programs that will use %name
Group: Development/Other
Requires: %common = %version-%release
Conflicts: openexr-devel < 1.6
Conflicts: ilmbase-devel
%description devel
This package contains the static libraries and header files needed for
developing applications with %name


%prep
%setup -q -n ilmbase-%version
%patch10 -p1
%patch11 -p1
%patch12 -p1


%build
%Kcmake
%Kmake

%install
%Kinstall

# create compatibility symlinks
for f in %buildroot/%_libdir/lib*.so ; do
fname=`basename $f`
newname=`echo $fname | sed 's|-.*|.so|'`
[ "$fname" == "$newname" ] \
|| ln -s $fname %buildroot/%_libdir/$newname
done

%files -n %common

%files
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README

%files -n %libhalf
%_libdir/libHalf.so.%libsover
%_libdir/libHalf.so.%libsover.*

%files -n %libiex
%_libdir/libIex-*.so.%libsover
%_libdir/libIex-*.so.%libsover.*

%files -n %libilmthread
%_libdir/libIlmThread-*.%libsover
%_libdir/libIlmThread-*.so.%libsover.*

%files -n %libimath
%_libdir/libImath-*.so.%libsover
%_libdir/libImath-*.so.%libsover.*

%files -n %libiexmath
%_libdir/libIexMath-*.so.%libsover
%_libdir/libIexMath-*.so.%libsover.*

%files devel
%doc AUTHORS ChangeLog COPYING LICENSE NEWS README
%_includedir/OpenEXR
%_libdir/*.so
%_libdir/pkgconfig/*


%changelog
* Fri Sep 20 2019 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt2
- create compatibility package

* Mon Jun 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 2.2.0-alt1.1
- Rebuilt for gcc5 C++11 ABI.

* Tue Dec 02 2014 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt1
- new version

* Wed Dec 18 2013 Sergey V Turchin <zerg@altlinux.org> 2.1.0-alt2
- fix pkgconfig file

* Thu Dec 12 2013 Sergey V Turchin <zerg@altlinux.org> 2.1.0-alt1
- new version

* Wed Apr 20 2011 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt6
- fix build requires

* Mon Oct 25 2010 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt5
- fix build requires

* Thu Jul 23 2009 Sergey V Turchin <zerg@altlinux.org> 1.0.1-alt4
- remove obsoleted macroses

* Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt3
- fix to package common subpackage

* Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt2
- split lib* subpackages

* Fri Feb 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.0.1-alt1
- initial specfile


+ 19
- 33
o/openexr/openexr.spec View File

@@ -1,9 +1,9 @@
%define libsover 22
%define libsover 24

%define rname OpenEXR
Name: openexr
Version: 2.2.0
Release: alt3
Version: 2.3.0
Release: alt1

%define common %name%libsover-common
%define libilmimf libilmimf%libsover
@@ -22,12 +22,8 @@ Obsoletes: %name-utils < %version-%release

Source: %name-%version.tar
# FC
Patch1: openexr-2.1.0-bigendian.patch
# ALT
Patch10: openexr-2.2.0-alt-build.patch
Patch11: openexr-2.1.0-alt-libdir.patch
Patch12: openexr-2.1.0-alt-pkgconfig.patch
Patch13: alt-gcc8.patch
Patch1: openexr-2.3.0-bigendian.patch
Patch2: openexr-2.3.0-tests.patch

# Automatically added by buildreq on Thu Apr 21 2011 (-bi)
# optimized out: elfutils libstdc++-devel pkg-config
@@ -76,33 +72,18 @@ developing applications with %rname

%prep
%setup -q -n %name-%version
%patch1 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch1 -p2
%patch2 -p2

%build
%Kcmake
%Kmake
%configure \
--disable-static \
#
%make_build

%install
%Kinstall

# create compatibility symlinks
for f in %buildroot/%_libdir/lib*.so ; do
fname=`basename $f`
newname=`echo $fname | sed 's|-.*|.so|'`
[ "$fname" == "$newname" ] \
|| ln -s $fname %buildroot/%_libdir/$newname
done

mv %buildroot/%_docdir/%rname-%version %buildroot/%_docdir/%name-%version
install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version/
install -m 0644 ChangeLog %buildroot/%_docdir/%name-%version/
install -m 0644 COPYING %buildroot/%_docdir/%name-%version/
install -m 0644 NEWS %buildroot/%_docdir/%name-%version/
install -m 0644 README %buildroot/%_docdir/%name-%version/
%makeinstall_std


%files -n %common

@@ -110,14 +91,16 @@ install -m 0644 README %buildroot/%_docdir/%name-%version/
%_bindir/*

%files -n %libilmimf
%doc AUTHORS ChangeLog PATENTS LICENSE README*
%_libdir/libIlmImf-*.so.%libsover
%_libdir/libIlmImf-*.so.%libsover.*
%files -n %libilmimfutil
%doc AUTHORS ChangeLog PATENTS LICENSE README*
%_libdir/libIlmImfUtil-*.so.%libsover
%_libdir/libIlmImfUtil-*.so.%libsover.*

%files devel
%doc %_docdir/%name-%version/
%doc doc/*.pdf
%_includedir/%rname
%_libdir/lib*.so
%_libdir/pkgconfig/*
@@ -125,6 +108,9 @@ install -m 0644 README %buildroot/%_docdir/%name-%version/


%changelog
* Fri Sep 20 2019 Sergey V Turchin <zerg@altlinux.org> 2.3.0-alt1
- new version

* Mon Feb 11 2019 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt3
- fix to build with gcc8


+ 183
- 0
o/openexr22/openexr.spec View File

@@ -0,0 +1,183 @@
%define libsover 22

%define rname OpenEXR
Name: openexr22
Version: 2.2.0
Release: alt4

%define common %name-common
%define libilmimf libilmimf%libsover
%define libilmimfutil libilmimfutil%libsover

Group: System/Libraries
Summary: A high-dynamic-range image file library
License: BSD
URL: http://www.openexr.org/

Requires: %libilmimf = %version-%release
Provides: %rname = %version-%release
Obsoletes: %rname < %version-%release

Source: openexr-%version.tar
# FC
Patch1: openexr-2.1.0-bigendian.patch
# ALT
Patch10: openexr-2.2.0-alt-build.patch
Patch11: openexr-2.1.0-alt-libdir.patch
Patch12: openexr-2.1.0-alt-pkgconfig.patch
Patch13: alt-gcc8.patch

# Automatically added by buildreq on Thu Apr 21 2011 (-bi)
# optimized out: elfutils libstdc++-devel pkg-config
#BuildRequires: gcc-c++ glibc-devel-static ilmbase-devel zlib-devel
BuildRequires: gcc-c++ glibc-devel ilmbase-devel zlib-devel
BuildRequires: cmake kde-common-devel

%description
OpenEXR is an image file format and library developed by Industrial Light
& Magic, and later released to the public. It provides support for high
dynamic range and a 16-bit floating point "half" data type which is
compatible with the half data type in the Cg programming language.


%package -n %common
Group: System/Configuration/Other
Summary: Common empty package for %name
%description -n %common
Common empty package for %name

%package -n %libilmimf
Group: System/Libraries
Summary: libIlmImf %rname library
Requires: %common = %version-%release
Conflicts: openexr <= 1.6.1-alt1
%description -n %libilmimf
libIlmImf %rname library

%package -n %libilmimfutil
Group: System/Libraries
Summary: libIlmImfUtil %rname library
Requires: %common = %version-%release
Conflicts: openexr <= 1.6.1-alt1
%description -n %libilmimfutil
libIlmImfUtil %rname library

%package devel
Summary: Headers for developing programs that will use %rname
Group: Development/Other
Requires: %common = %version-%release
Conflicts: openexr-devel
#
%description devel
This package contains the static libraries and header files needed for
developing applications with %rname

%prep
%setup -q -n openexr-%version
%patch1 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1

%build
%Kcmake
%Kmake

%install
%Kinstall

# create compatibility symlinks
for f in %buildroot/%_libdir/lib*.so ; do
fname=`basename $f`
newname=`echo $fname | sed 's|-.*|.so|'`
[ "$fname" == "$newname" ] \
|| ln -s $fname %buildroot/%_libdir/$newname
done

mv %buildroot/%_docdir/%rname-%version %buildroot/%_docdir/%name-%version
install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version/
install -m 0644 ChangeLog %buildroot/%_docdir/%name-%version/
install -m 0644 COPYING %buildroot/%_docdir/%name-%version/
install -m 0644 NEWS %buildroot/%_docdir/%name-%version/
install -m 0644 README %buildroot/%_docdir/%name-%version/

%files -n %common

%files -n %libilmimf
%_libdir/libIlmImf-*.so.%libsover
%_libdir/libIlmImf-*.so.%libsover.*
%files -n %libilmimfutil
%_libdir/libIlmImfUtil-*.so.%libsover
%_libdir/libIlmImfUtil-*.so.%libsover.*

%files devel
%doc %_docdir/%name-%version/
%_includedir/%rname
%_libdir/lib*.so
%_libdir/pkgconfig/*
#%_datadir/aclocal/%name.m4


%changelog
* Fri Sep 20 2019 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt4
- create compatibility package

* Mon Feb 11 2019 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt3
- fix to build with gcc8

* Thu Sep 28 2017 Anton V. Boyarshinov <boyarsh@altlinux.org> 2.2.0-alt2
- Security (Fixes: CVE-2017-9110, CVE-2017-9111, CVE-2017-9112,
CVE-2017-9113, CVE-2017-9114, CVE-2017-9115, CVE-2017-9116)

* Mon Jun 15 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 2.2.0-alt1.1
- Rebuilt for gcc5 C++11 ABI.

* Tue Dec 02 2014 Sergey V Turchin <zerg@altlinux.org> 2.2.0-alt1
- new version

* Thu Dec 12 2013 Sergey V Turchin <zerg@altlinux.org> 2.1.0-alt1
- new version

* Thu Apr 21 2011 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt7
- fix build requires

* Wed Mar 09 2011 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt6
- rebuilt

* Wed Nov 03 2010 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt5
- rebuilt

* Thu Jul 23 2009 Sergey V Turchin <zerg@altlinux.org> 1.6.1-alt4
- rebuilt

* Tue Dec 02 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt3
- fix compile with new gcc
- remove deprecated macroses from specfile

* Fri Aug 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt2
- split lib* subpackages

* Fri Feb 22 2008 Sergey V Turchin <zerg at altlinux dot org> 1.6.1-alt1
- new version

* Mon May 14 2007 Sergey V Turchin <zerg at altlinux dot org> 1.4.0-alt1.a
- new version
- built with libfltk

* Mon Jul 03 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt4
- built without libfltk

* Mon May 15 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt3
- rebuilt with new gcc

* Tue Mar 07 2006 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt2
- add patch for linking with zlib from FC

* Thu Aug 25 2005 Sergey V Turchin <zerg at altlinux dot org> 1.2.2-alt1
- new version
- split utils to separate package

* Mon Sep 27 2004 Sergey V Turchin <zerg at altlinux dot org> 1.2.1-alt1
- initial spec


Loading…
Cancel
Save