RPM Packaging: update dependencies

pull/3/head
François Andriot 10 years ago
parent 817b99fec2
commit 06a8f75490

@ -17,11 +17,8 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libavahi %{_lib}avahi %define libavahi %{_lib}avahi
%else %else
%define libavahi libavahi %define libavahi libavahi

@ -18,7 +18,7 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libdbus %{_lib}dbus %define libdbus %{_lib}dbus
%else %else
%define libdbus libdbus %define libdbus libdbus
@ -42,7 +42,7 @@ License: GPLv2+
#Vendor: Trinity Project #Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr> #Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix} Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz

@ -18,7 +18,7 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libdbus %{_lib}dbus %define libdbus %{_lib}dbus
%else %else
%define libdbus libdbus %define libdbus libdbus

@ -19,7 +19,7 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libart %{_lib}art %define libart %{_lib}art
%else %else
%define libart libart %define libart libart
@ -65,6 +65,8 @@ Summary: Library of functions for 2D graphics - runtime files
Group: System/Libraries Group: System/Libraries
Obsoletes: libart_lgpl < %{version}-%{release} Obsoletes: libart_lgpl < %{version}-%{release}
Provides: libart_lgpl = %{version}-%{release} Provides: libart_lgpl = %{version}-%{release}
Obsoletes: %{_lib}art_lgpl2 < %{version}-%{release}
Provides: %{_lib}art_lgpl2 = %{version}-%{release}
Provides: libart_lgpl_2-2 = %{version}-%{release} Provides: libart_lgpl_2-2 = %{version}-%{release}
%description -n %{libart}_lgpl_2-2 %description -n %{libart}_lgpl_2-2

@ -18,7 +18,7 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt3 %{_lib}tqt3 %define libtqt3 %{_lib}tqt3
%else %else
%define libtqt3 libtqt3 %define libtqt3 libtqt3

@ -23,7 +23,7 @@
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define cmake_modules_dir %{_datadir}/cmake/Modules %define cmake_modules_dir %{_datadir}/cmake/Modules
%if 0%{?mdkversion} || 0%{?mdkversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt4 %{_lib}tqt4 %define libtqt4 %{_lib}tqt4
%else %else
%define libtqt4 libtqt4 %define libtqt4 libtqt4

@ -81,7 +81,7 @@ export LDFLAGS="$LDFLAGS -pie"
%__install -D -m 644 man/fileshareset.8 %{?buildroot}%{_mandir}/man8/fileshareset.8 %__install -D -m 644 man/fileshareset.8 %{?buildroot}%{_mandir}/man8/fileshareset.8
# Install the default configuration file # Install the default configuration file
mkdir -p "${RPM_BUILD_ROOT}/etc/security/" mkdir -p "${RPM_BUILD_ROOT}%{_sysconfdir}/security/"
echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf" echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf"

Loading…
Cancel
Save