add files
This commit is contained in:
parent
da5e9ef259
commit
f47b1dd157
BIN
tqtinterface-trinity-14.1.3.tar.xz
Normal file
BIN
tqtinterface-trinity-14.1.3.tar.xz
Normal file
Binary file not shown.
60
tqtinterface.spec
Normal file
60
tqtinterface.spec
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
Name:tqt-interface-trinity
|
||||||
|
Version:14.1.3
|
||||||
|
Release:0
|
||||||
|
Summary:tqt-interface - Interface library used by TDE
|
||||||
|
|
||||||
|
License:GPL-2.0-only
|
||||||
|
URL:http://www.trinitydesktop.org
|
||||||
|
Source0:https://mirror.ppa.trinitydesktop.org/trinity/releases/R%{version}/main/dependencies/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires:tqt3-trinity-devel tde-cmake-trinity
|
||||||
|
BuildRequires:cmake g++
|
||||||
|
Requires:tqt3-trinity
|
||||||
|
|
||||||
|
%description
|
||||||
|
Interface library used by TDE
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development libraries and headers for tqt-interface
|
||||||
|
%description devel
|
||||||
|
Development libraries and headers for tqt-interface
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
|
%define trinity_dir /opt/trinity
|
||||||
|
%define sysconfdir /etc/trinity
|
||||||
|
%build
|
||||||
|
cd ../
|
||||||
|
mkdir tqt.build
|
||||||
|
cd tqt.build
|
||||||
|
cmake \
|
||||||
|
-DQT_PREFIX_DIR=%{trinity_dir} \
|
||||||
|
-DMOC_EXECUTABLE=%{trinity_dir}/bin/tqmoc \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=%{buildroot}%{trinity_dir}
|
||||||
|
-DMAN_INSTALL_DIR=%{buildroot}%{trinity_dir}/man \
|
||||||
|
-DBUILD_ALL="ON" \
|
||||||
|
-DWITH_ALL_OPTIONS="ON" \
|
||||||
|
-DQT_VERSION=3 \
|
||||||
|
-DPKG_CONFIG_PATH=%{trinity_dir}/lib/pkgconfig \
|
||||||
|
../%{name}-%{version}/
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{trinity_dir}/bin/*
|
||||||
|
%{trinity_dir}/lib/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{trinity_dir}/bin/*
|
||||||
|
%{trinity_dir}/lib/*
|
||||||
|
%{trinity_dir}/include/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
%autochangelog
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user