automoc4/automoc4.spec

70 lines
2.0 KiB
RPMSpec

Name: automoc4
Version: 0.9.88
Release: 5mamba
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: http://download.kde.org/stable/automoc4/%{version}/automoc4-%{version}.tar.bz2
Patch0: automoc4-0.9.88-boost-definitions.patch
Patch1: automoc4-0.9.88-fix-blocking.patch
Patch2: automoc4-0.9.88-check_cmake_QProcess_start.patch
Patch3: automoc4-0.9.88-pthread-workaround-for-blocking.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
#%patch1 -p0
%patch2 -p0
%patch3 -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
* Fri Mar 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-5mamba
- use two other patches to try to fix blocking problem
* Thu Mar 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-4mamba
- add a patch to fix blocking (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=163513)
* Fri Feb 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.88-3mamba
- rebuilt
* 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