add a patch to fix boost definitions with boost >= 1.48 (fixes kdepim build) [release 0.9.88-2mamba;Thu Sep 06 2012]
This commit is contained in:
parent
2b0fef8e69
commit
b961dd52d8
@ -1,2 +1,5 @@
|
||||
# automoc4
|
||||
|
||||
Automatic moc for Qt 4 packages.
|
||||
This package is part of the KDE4, as a component of the kdesupport module.
|
||||
|
||||
|
14
automoc4-0.9.88-boost-definitions.patch
Normal file
14
automoc4-0.9.88-boost-definitions.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- automoc4.files.in.orig 2012-08-04 05:49:55.901087739 -0400
|
||||
+++ automoc4.files.in 2012-08-04 05:51:57.173017527 -0400
|
||||
@@ -1,9 +1,9 @@
|
||||
SOURCES:
|
||||
@_moc_files@
|
||||
MOC_COMPILE_DEFINITIONS:
|
||||
-@_moc_cdefs@
|
||||
+@_moc_cdefs@;BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
|
||||
MOC_DEFINITIONS:
|
||||
-@_moc_defs@
|
||||
+@_moc_defs@ -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED
|
||||
MOC_INCLUDES:
|
||||
@_moc_incs@
|
||||
CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE:
|
54
automoc4.spec
Normal file
54
automoc4.spec
Normal file
@ -0,0 +1,54 @@
|
||||
Name: automoc4
|
||||
Version: 0.9.88
|
||||
Release: 2mamba
|
||||
Summary: Automatic moc for Qt 4 packages
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
URL: http://www.kde.org
|
||||
Source: ftp://ftp.kde.org/pub/kde/stable/automoc4/%{version}/automoc4-%{version}.tar.bz2
|
||||
Patch0: automoc4-0.9.88-boost-definitions.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Automatic moc for Qt 4 packages.
|
||||
This package is part of the KDE4, as a component of the kdesupport module.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/automoc4
|
||||
%{_libdir}/automoc4/
|
||||
|
||||
%changelog
|
||||
* Thu Sep 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-2mamba
|
||||
- add a patch to fix boost definitions with boost >= 1.48 (fixes kdepim build)
|
||||
|
||||
* Mon Feb 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-1mamba
|
||||
- update to 0.9.88
|
||||
|
||||
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 0.9.84-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user