--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = compat-libpng
+version = 1.5.18
+release = 1
+thisapp = libpng-%{version}
+
+groups = System/Libraries
+url = http://www.libpng.org/pub/png/
+license = zlib
+summary = A library of functions for manipulating PNG image format files.
+
+description
+ The libpng package contains a library of functions for creating and
+ manipulating PNG (Portable Network Graphics) image format files.
+ PNG is a bit-mapped graphics format similar to the GIF format. PNG
+ was created to replace the GIF format, since GIF uses a patented
+ data compression algorithm.
+end
+
+source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{version}/
+source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng15/%{version}/
+
+sources = %{thisapp}.tar.xz
+
+build
+ requires
+ pkg-config
+ zlib-devel
+ end
+
+ install
+ # Install just the library and no headers.
+ mkdir -pv %{BUILDROOT}%{libdir}
+ install -m 755 .libs/libpng15.so.15.18.0 %{BUILDROOT}%{libdir}
+ ln -svf libpng15.so.15.18.0 %{BUILDROOT}%{libdir}/libpng15.so.15
+ end
+end
+
+packages
+ package %{name}
+ provides
+ libpng = %{thisver}
+ end
+
+ obsoletes
+ libpng-compat
+ end
+
+ conflicts
+ libpng <= %{thisver}
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = compat-mpfr
+version = 2.4.2
+release = 1
+
+thisapp = mpfr-%{version}
+
+groups = System/Libraries
+url = http://www.mpfr.org/
+license = LGPLv2+ and GPLv2+ and GFDL
+summary = A C library for multiple-precision floating-point computations.
+
+description
+ The MPFR library is a C library for multiple-precision floating-point
+ computations with correct rounding. The MPFR is efficient and
+ also has a well-defined semantics. It copies the good ideas from the
+ ANSI/IEEE-754 standard for double-precision floating-point arithmetic
+ (53-bit mantissa). MPFR is based on the GMP multiple-precision
+ library.
+end
+
+source_dl = http://ftp.gnu.org/gnu/mpfr/
+
+build
+ requires
+ gmp-devel >= 4.3.2
+ gmp-devel < 6.0.0
+ end
+
+ configure_options += \
+ --enable-thread-safe \
+ --disable-assert
+
+ test
+ export LD_LIBRARY_PATH=$(pwd)/.libs
+ make check
+ end
+
+ install
+ # Only install libraries.
+ mkdir -pv %{BUILDROOT}%{libdir}
+ install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}
+ ln -svf libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}/libmpfr.so.1
+ end
+end
+
+packages
+ package %{name}
+ provides
+ mpfr = %{thisver}
+ end
+
+ obsoletes
+ mpfr-compat
+ end
+
+ conflicts
+ mpfr <= %{thisver}
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = compat-pcre
+version = 8.21
+release = 1
+
+thisapp = pcre-%{version}
+
+groups = System/Libraries
+url = http://www.pcre.org/
+license = BSD
+summary = Perl-compatible regular expression library.
+
+description
+ Perl-compatible regular expression library. PCRE has its own native
+ API, but a set of "wrapper" functions that are based on the POSIX
+ API are also supplied in the library libpcreposix.
+end
+
+source_dl = http://sourceforge.net/projects/pcre/files/pcre/%{version}/
+
+build
+ requires
+ bzip2-devel
+ gcc-c++
+ readline-devel
+ zlib-devel
+ end
+
+ configure_options += \
+ --disable-static \
+ --docdir=/usr/share/doc/pcre-%{version} \
+ --disable-jit \
+ --enable-pcre8 \
+ --enable-pcre16 \
+ --enable-pcre32 \
+ --enable-utf \
+ --enable-unicode-properties \
+ --enable-pcretest-libreadline
+
+ test
+ make check
+ end
+
+ install
+ # Only install libraries.
+ mkdir -pv %{BUILDROOT}%{libdir}
+ install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
+ ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
+ end
+end
+
+packages
+ package %{name}
+ provides
+ pcre = %{thisver}
+ end
+
+ obsoletes
+ pcre-compat
+ end
+
+ conflicts
+ pcre <= %{thisver}
+ end
+ end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
+end
name = libpng
version = 1.6.10
-release = 1
-
-compat_ver = 1.5.17
+release = 2
groups = System/Libraries
url = http://www.libpng.org/pub/png/
source_dl = http://downloads.sourceforge.net/project/libpng/libpng16/%{version}/
source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng16/%{version}/
-# Source URL for comat package.
-source_dl += http://downloads.sourceforge.net/project/libpng/libpng15/%{compat_ver}/
-source_dl += http://downloads.sourceforge.net/project/libpng/history/libpng15/%{compat_ver}/
-
-sources = %{thisapp}.tar.xz
-
-# File for compat package.
-sources += %{name}-%{compat_ver}.tar.xz
-
build
requires
pkg-config
zlib-devel
end
-
- # Build compat package.
- build_cmds
- cd %{DIR_SRC}/%{name}-%{compat_ver}
- ./configure %{configure_options}
-
- make %{PARALLELISMFLAGS}
- end
-
- # Install compat package.
- install_cmds
- cd %{DIR_SRC}/%{name}-%{compat_ver}
- install -m 755 .libs/libpng15.so.15.17.0 %{BUILDROOT}%{libdir}
- ln -svf libpng15.so.15.17.0 %{BUILDROOT}%{libdir}/libpng15.so.15
- end
end
packages
requires = zlib-devel
end
- package %{name}-compat
- summary = Compat libraries of %{thisapp}.
-
- files
- %{libdir}/%{name}15.so*
- end
- end
-
package %{name}-debuginfo
template DEBUGINFO
end
###############################################################################
name = mpfr
-version = 3.1.0
-release = 2
-
-compat_version = 2.4.2
+version = 3.1.2
+release = 1
groups = System/Libraries
url = http://www.mpfr.org/
end
source_dl = http://mpfr.loria.fr/mpfr-%{version}/
-sources += %{name}-%{compat_version}.tar.bz2
build
requires
- gmp-devel>=4.3.2
+ gmp-devel >= 4.3.2
end
configure_options += \
--enable-thread-safe \
--disable-assert
- build_cmds
-
- cd %{DIR_SRC}/%{name}-%{compat_version}
- ./configure \
- %{configure_options}
-
- export LD_LIBRARY_PATH=$(pwd)/.libs
- make %{PARALLELISMFLAGS}
- end
-
test
- export LD_LIBRARY_PATH=$(pwd)/.libs
- make check
-
- cd %{DIR_SRC}/%{name}-%{compat_version}
- export LD_LIBRARY_PATH=$(pwd)/.libs
+ export LD_LIBRARY_PATH=$(pwd)/src/.libs
make check
end
-
- install_cmds
- cd %{DIR_SRC}/%{name}-%{compat_version}
- install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}
- ln -svf libmpfr.so.1.2.2 %{BUILDROOT}%{libdir}/libmpfr.so.1
- end
end
packages
template DEVEL
end
- package %{name}-compat
- summary = Compat libraries of %{thisapp}.
-
- files
- %{libdir}/libmpfr.so.1*
- end
- end
-
package %{name}-debuginfo
template DEBUGINFO
end
name = pcre
version = 8.35
-release = 2
-
-compat_version = 8.21
+release = 3
groups = System/Libraries
url = http://www.pcre.org/
end
source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
-sources += %{name}-%{compat_version}.tar.gz
build
requires
--enable-unicode-properties \
--enable-pcretest-libreadline
- build_cmds
- cd %{DIR_SRC}/%{name}-%{compat_version}
- ./configure \
- %{configure_options}
-
- make %{PARALLELISMFLAGS}
- end
-
test
make check
-
- cd %{DIR_SRC}/%{name}-%{compat_version}
- make check
- end
-
- install_cmds
- cd %{DIR_SRC}/%{name}-%{compat_version}
- install -m 755 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
- ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libpcre.so.0
end
end
template DEVEL
end
- package %{name}-compat
- summary = Compat libraries of %{thisapp}.
-
- files
- %{libdir}/libpcre.so.0*
- end
- end
-
package %{name}-debuginfo
template DEBUGINFO
end
###############################################################################
name = sudo
-version = 1.8.5
+version = 1.8.10
release = 1
groups = Applications/System