c7f345d
#define snaptag .20080527svn811390
9428c3b
%define beta 0.9.88
9428c3b
%define beta_tag rc3
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Name:           automoc
Lorenzo Villani a555ed6
Version:        1.0
b78a882
Release:        0.21.%{?beta_tag}%{?dist}
Lorenzo Villani 1686be5
Summary:        Automatic moc for Qt 4
Lorenzo Villani a555ed6
Group:          Development/Tools
Lorenzo Villani a555ed6
License:        BSD
Lorenzo Villani a555ed6
URL:            http://www.kde.org
9428c3b
Source0:        ftp://ftp.kde.org/pub/kde/stable/automoc4/%{beta}/automoc4-%{beta}.tar.bz2
Lorenzo Villani a555ed6
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Lorenzo Villani a555ed6
c7f345d
Provides: automoc4 = %{beta}
c7f345d
Lorenzo Villani 1686be5
Requires:       cmake >= 2.4.5
Lorenzo Villani 1686be5
BuildRequires:  cmake >= 2.4.5
Lorenzo Villani 1686be5
BuildRequires:  qt4-devel
Lorenzo Villani 1686be5
BuildRequires:  kde-filesystem
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%description
Lorenzo Villani 1686be5
This package contains the automoc4 binary which is used to run moc on the
Lorenzo Villani 1686be5
right source files in a Qt 4 or KDE 4 application.
Lorenzo Villani 1686be5
Moc is the meta object compiler which is a widely used tool with Qt and
Lorenzo Villani 1686be5
creates standard C++ files to provide syntactic sugar of the signal/slots
Lorenzo Villani 1686be5
mechanism.
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%prep
b249976
%setup -q -n automoc4-%{beta}
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%build
Lorenzo Villani a555ed6
mkdir -p %{_target_platform}
Lorenzo Villani a555ed6
pushd %{_target_platform}
Lorenzo Villani a555ed6
%{cmake_kde4} ..
Lorenzo Villani a555ed6
popd
Lorenzo Villani a555ed6
b249976
make %{?_smp_mflags} -C %{_target_platform}
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%install
Lorenzo Villani a555ed6
rm -rf %{buildroot}
Lorenzo Villani a555ed6
make install DESTDIR=%{buildroot} -C %{_target_platform}
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%clean
Lorenzo Villani a555ed6
rm -rf %{buildroot}
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%files
Lorenzo Villani a555ed6
%defattr(-,root,root,-)
Lorenzo Villani a555ed6
%{_bindir}/automoc4
8706541
%{_kde4_libdir}/automoc4/
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
%changelog
b78a882
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.21.rc3
b78a882
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b78a882
67c4e1c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.20.rc3
67c4e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
67c4e1c
b2a2cfd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.19.rc3
b2a2cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b2a2cfd
09f1570
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.18.rc3
09f1570
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
09f1570
80bdd69
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.17.rc3
80bdd69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
80bdd69
343fd88
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.16.rc3
343fd88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
343fd88
0ede75c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.15.rc3
0ede75c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0ede75c
27795bc
* Sun Feb 14 2010 Rex Dieter 
27795bc
- rebuild
27795bc
ab6e5e7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.13.rc3
ab6e5e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ab6e5e7
548326d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.12.rc3
548326d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
548326d
9428c3b
* Thu Jan 22 2009 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.11.rc3
9428c3b
- automoc4-0.9.88 (1.0-rc3)
9428c3b
Lorenzo Villani 1686be5
* Sat Nov 22 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.10.rc2
Lorenzo Villani 1686be5
- fix package summary and descriptions (as requested by Richard Hughes)
Lorenzo Villani 1686be5
- match cmake minimum required version with the contents of CMakeLists.txt
Lorenzo Villani 1686be5
  (paranoid fix)
Lorenzo Villani 1686be5
Lorenzo Villani c147c17
* Thu Sep  4 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.9.rc2
Lorenzo Villani c147c17
- automoc4-0.9.87 (1.0-rc2)
Lorenzo Villani c147c17
a876fed
* Wed Jul 23 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.8.rc1
a876fed
- automoc4-0.9.84 (1.0-rc1)
a876fed
fa62f7f
* Mon Jun 30 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.7.beta2
a876fed
- automoc4-0.9.83 (1.0-beta2)
b249976
- drop lib64 patch
c7f345d
Lorenzo Villani 2e491dd
* Thu Jun 10 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.5.20080527svn811390
Lorenzo Villani 6141916
- Leave automoc4.files.in in _libdir
Lorenzo Villani 6141916
- Same applies to Automoc4Config.cmake
Lorenzo Villani 6141916
Lorenzo Villani a555ed6
* Thu May 29 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.3.20080527svn811390
Lorenzo Villani a555ed6
- Added 'cmake' to Requires
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
* Wed May 28 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.2.20080527svn811390
Lorenzo Villani a555ed6
- Patched to make it build on other systems than i386 (thanks to Rex Dieter)
Lorenzo Villani a555ed6
Lorenzo Villani a555ed6
* Tue May 27 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 1.0-0.1.20080527svn811390
Lorenzo Villani a555ed6
- Initial release