#define snaptag .20080527svn811390
%define beta 0.9.87
%define beta_tag rc2
Name: automoc
Version: 1.0
Release: 0.9.%{?beta_tag}%{?dist}
Summary: KDE4 automoc
Group: Development/Tools
License: BSD
URL: http://www.kde.org
#Source0: ftp://ftp.kde.org/pub/kde/unstable/4.0.94/support/automoc4-%{beta}.tar.bz2
Source0: automoc4-%{beta}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: automoc4 = %{beta}
Requires: cmake
BuildRequires: cmake qt4-devel kde-filesystem
%description
KDE4 automoc
%prep
%setup -q -n automoc4-%{beta}
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/automoc4
%{_kde4_libdir}/automoc4/
%changelog
* Thu Sep 4 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.9.rc2
- automoc4-0.9.87 (1.0-rc2)
* Wed Jul 23 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.8.rc1
- automoc4-0.9.84 (1.0-rc1)
* Mon Jun 30 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.7.beta2
- automoc4-0.9.83 (1.0-beta2)
- drop lib64 patch
* Thu Jun 10 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.5.20080527svn811390
- Leave automoc4.files.in in _libdir
- Same applies to Automoc4Config.cmake
* Thu May 29 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.3.20080527svn811390
- Added 'cmake' to Requires
* Wed May 28 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.2.20080527svn811390
- Patched to make it build on other systems than i386 (thanks to Rex Dieter)
* Tue May 27 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.1.20080527svn811390
- Initial release