Update dependencies SPECS file with more version-independant macros

v3.5.13-sru
albator 13 years ago
parent b3159810ce
commit 48f1832df5

@ -1,29 +1,35 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.12
%endif
%define release 4
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.12 specific building variables
BuildRequires: autoconf automake libtool m4
Name: trinity-arts Name: trinity-arts
Version: 3.5.12 Version: %{?version}
Release: 4%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: aRts (analog realtime synthesizer) - the KDE sound system Summary: aRts (analog realtime synthesizer) - the KDE sound system
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/arts-3.5.12.tar.gz Source0: arts-%{version}.tar.gz
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel >= 3.3.8b
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
Requires: qt3 >= 3.3.8b
Requires: tqtinterface Requires: tqtinterface
Requires: audiofile Requires: audiofile
@ -64,6 +70,7 @@ Development files for %{name}
%build %build
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
export LDFLAGS="-L%{_libdir} -I%{_includedir}" export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%configure \ %configure \
--disable-rpath \ --disable-rpath \
--disable-debug --disable-warnings \ --disable-debug --disable-warnings \

@ -2,16 +2,20 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 1.5.10 %define version 1.5.10
%endif %endif
%define release 0
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
Name: trinity-arts Name: trinity-arts
Version: %{version} Version: %{?version}
Release: 0%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: aRts (analog realtime synthesizer) - the KDE sound system Summary: aRts (analog realtime synthesizer) - the KDE sound system
Vendor: Trinity Project Vendor: Trinity Project
@ -20,16 +24,12 @@ Packager: Francois Andriot <francois.andriot@free.fr>
Source0: arts-%{version}.tar.gz Source0: arts-%{version}.tar.gz
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRequires: cmake >= 2.8
BuildRequires: tde-cmake-macros
BuildRequires: qt3-devel >= 3.3.8d
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
Requires: qt3 >= 3.3.8d
Requires: tqtinterface Requires: tqtinterface
Requires: audiofile Requires: audiofile

@ -2,15 +2,22 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
%endif %endif
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel >= 3.3.8d
Requires: qt3 >= 3.3.8d
Name: dbus-tqt Name: dbus-tqt
Version: %{?version} Version: %{?version}
Release: 0%{?dist}%{?_variant} Release: %{?release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Dbus TQT Interface Summary: Dbus TQT Interface
Vendor: Trinity Project Vendor: Trinity Project
@ -19,17 +26,14 @@ Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{_prefix} Prefix: %{_prefix}
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: qt3-devel >= 3.3.8d
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: dbus-qt-devel BuildRequires: dbus-qt-devel
BuildRequires: tqtinterface-devel BuildRequires: tqtinterface-devel
BuildRequires: cmake >= 2.8
Requires: qt3 >= 3.3.8d
%description %description
Dbus TQT Interface Dbus TQT Interface
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
@ -37,6 +41,7 @@ Summary: %{name} - Development files
%description devel %description devel
Development files for %{name} Development files for %{name}
%prep %prep
%setup -q -n dependencies/%{name} %setup -q -n dependencies/%{name}

@ -1,3 +1,9 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.5.12
%endif
%define release 7
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
%define _variant .opt %define _variant .opt
@ -7,36 +13,28 @@
# Later compiled Trinity products should be aware of that ! # Later compiled Trinity products should be aware of that !
%define _includedir %{_prefix}/include/tqt %define _includedir %{_prefix}/include/tqt
# Currently we build with (RHEL 6): # TDE 3.5.12 specific building variables
# automake-1.11.1-1.2.el6.noarch BuildRequires: autoconf automake libtool m4
# autoconf-2.63-5.1.el6.noarch BuildRequires: qt3-devel >= 3.3.8b
# libtool-2.2.6-15.5.el6.x86_64 Requires: qt3 >= 3.3.8b
# m4-1.4.13-5.el6.x86_64
# Currently we build with (Fedora 15):
# automake-1.11.1-5.fc14.noarch
# autoconf-2.63-5.1.f15.noarch (backport from EL6)
# libtool-2.2.6-15.5.f15.x86_64 (backport from EL6)
# m4-1.4.13-5.f15.x86_64 (backport from EL6)
Name: tqtinterface Name: tqtinterface
Version: 3.5.12 Version: %{version}
Release: 7%{?dist}%{?_variant} Release: %{release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity QT Interface Summary: Trinity QT Interface
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{_prefix} Prefix: %{_prefix}
Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/tqtinterface-3.5.12.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: autoconf automake libtool m4
BuildRequires: qt3-devel >= 3.3.8b
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: pth-devel BuildRequires: pth-devel
Requires: qt3 >= 3.3.8b
%description %description
Trinity QT Interface Trinity QT Interface
@ -83,6 +81,7 @@ CFLAGS=$( pkg-config --libs qt-mt )
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.la %{_libdir}/*.la
%changelog %changelog
* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7 * Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
- Import to GIT - Import to GIT

@ -2,6 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 0
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -12,9 +13,15 @@
# Later compiled Trinity products should be aware of that ! # Later compiled Trinity products should be aware of that !
%define _includedir %{_prefix}/include/tqt %define _includedir %{_prefix}/include/tqt
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel >= 3.3.8d
Requires: qt3 >= 3.3.8d
Name: tqtinterface Name: tqtinterface
Version: %{version} Version: %{version}
Release: 0%{?dist}%{?_variant} Release: %{release}%{?dist}%{?_variant}
License: GPL License: GPL
Summary: Trinity QT Interface Summary: Trinity QT Interface
Vendor: Trinity Project Vendor: Trinity Project
@ -23,13 +30,11 @@ Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{_prefix} Prefix: %{_prefix}
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8
BuildRequires: qt3-devel >= 3.3.8d
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: pth-devel BuildRequires: pth-devel
Requires: qt3 >= 3.3.8d
%description %description
Trinity QT Interface Trinity QT Interface
@ -41,14 +46,6 @@ Summary: %{name} - Development files
%description devel %description devel
Development files for %{name} Development files for %{name}
%package -n tde-cmake-macros
Requires: %{name}-devel
Summary: Cmake macros for building TDE
%description -n tde-cmake-macros
%{summary}
%prep %prep
%setup -q -n dependencies/%{name} %setup -q -n dependencies/%{name}
@ -97,12 +94,10 @@ done
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%files -n tde-cmake-macros
%{_usr}/share/cmake/Modules/*.cmake %{_usr}/share/cmake/Modules/*.cmake
%changelog %changelog
* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110828-0.el6 * Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
- Import to GIT - Import to GIT
- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) - Built with future TDE version (3.5.13 + cmake + QT3.3.8d)

Loading…
Cancel
Save