diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-04 12:48:59 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-04 12:48:59 -0500 |
commit | 169853a068683db6540e3b77542d5139bb7867d1 (patch) | |
tree | 2163209e7dc0569f9b0f68cf15284fe80f8c9e2e /redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec | |
parent | 7acfaa9e6409ed0ebdbc2e6fb67e8bc9b64b33d2 (diff) | |
parent | 43240f192dbdd0c0d267bc7c4a96f123704f0e2b (diff) | |
download | tde-packaging-169853a068683db6540e3b77542d5139bb7867d1.tar.gz tde-packaging-169853a068683db6540e3b77542d5139bb7867d1.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec')
-rwxr-xr-x | redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec index 859afa0bd..6f65fa7bf 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec @@ -2,7 +2,7 @@ %if "%{?version}" == "" %define version 3.5.13 %endif -%define release 0 +%define release 1 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" @@ -27,12 +27,14 @@ Version: %{version} Release: %{release}%{?dist}%{?_variant} License: GPL Summary: Trinity QT Interface +Group: System Environment/Libraries Vendor: Trinity Project URL: http://www.trinitydesktop.org/ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}.tar.gz @@ -45,8 +47,9 @@ BuildRequires: pth-devel Trinity QT Interface %package devel -Requires: %{name} +Group: Development/Libraries Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} %description devel Development files for %{name} @@ -75,13 +78,16 @@ cd build %install %__rm -rf %{?buildroot} %__mkdir_p %{?buildroot}%{_includedir} -%make_install -C build +%__make install DESTDIR=%{?buildroot} -C build -# Fix 'tqt.pc': UIC executable is not correct -sed -i %{?buildroot}%{_libdir}/pkgconfig/tqt.pc \ - -e '/^uic_executable=.*/ s,^\(uic_executable=\).*,\1%{_bindir}/uic-tqt,' +# RHEL 5: add newline at end of include files to avoid warnings +%if 0%{?rhel} && 0%{?rhel} <= 5 +for i in %{?buildroot}%{_includedir}/*.h; do + echo "" >>${i} +done +%endif -# Install 'cmake' modules for a specific package (for later use) +# Install 'cmake' modules for development use %__mkdir_p %{?buildroot}%{cmake_modules_dir} for i in cmake/modules/*.cmake; do install -m 644 $i %{?buildroot}%{cmake_modules_dir} @@ -103,6 +109,9 @@ done %changelog +* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + * Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 - Import to GIT - Built with future TDE version (3.5.13 + cmake + QT3.3.8d) |