diff --git a/README.md b/README.md index 4181f29..cbd339f 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/automoc4-0.9.88-boost-definitions.patch b/automoc4-0.9.88-boost-definitions.patch new file mode 100644 index 0000000..bed2267 --- /dev/null +++ b/automoc4-0.9.88-boost-definitions.patch @@ -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: diff --git a/automoc4.spec b/automoc4.spec new file mode 100644 index 0000000..e46faf6 --- /dev/null +++ b/automoc4.spec @@ -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 +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 0.9.88-2mamba +- add a patch to fix boost definitions with boost >= 1.48 (fixes kdepim build) + +* Mon Feb 02 2009 Silvan Calarco 0.9.88-1mamba +- update to 0.9.88 + +* Thu Aug 28 2008 Aleph0 0.9.84-1mamba +- package created by autospec