File automoc4.spec of Package automoc4

# spec file for package automoc4 (Version 0.9.87)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via


Name:           automoc4
BuildRequires:  cmake kde4-filesystem libqt4-devel
Version:        0.9.87
Release:        23
License:        X11/MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Development/Tools/Building
Summary:        CMake automatic MOC Generation
Source0:        %name-%version.tar.bz2
%if %suse_version > 1020
Requires:       libqt4 >= %(rpm -q --queryformat '%{VERSION}' libqt4)
Requires:       qt >= %(rpm -q --queryformat '%{VERSION}' qt)

automoc4 is a tool to add rules for generating Qt moc files
automatically to projects that use CMake as the buildsystem.

    Matthias Kretz

%setup -q

  %cmake_kde4 -d build

  cd build

rm -rf "$RPM_BUILD_ROOT"


* Tue Sep 09 2008
- fix requires for old distros
* Mon Aug 11 2008
- update to 0.9.87:
  * automoc4_add_library macro added
* Fri Aug 08 2008
- fix build after last change
* Thu Aug 07 2008
- update to 0.9.84
  * no significant change
* Fri Jun 20 2008
- update to released tarball
  * no significant change
* Tue May 27 2008
- update to 813373:
  * fix issues with building moc files in parallel
* Sat May 03 2008
- Initial package