55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
|
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
|