rpms/automoc/F-8 automoc-1.0-lib64.patch, NONE, 1.1 automoc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lorenzo Villani (arbiter) fedora-extras-commits at redhat.com
Sun Jun 1 10:58:20 UTC 2008


Author: arbiter

Update of /cvs/pkgs/rpms/automoc/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31977/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	automoc-1.0-lib64.patch automoc.spec 
Log Message:
Initial import

automoc-1.0-lib64.patch:

--- NEW FILE automoc-1.0-lib64.patch ---
diff -up automoc-1.0/CMakeLists.txt.lib64 automoc-1.0/CMakeLists.txt
--- automoc-1.0/CMakeLists.txt.lib64	2008-05-27 12:01:53.000000000 -0500
+++ automoc-1.0/CMakeLists.txt	2008-05-28 11:24:05.000000000 -0500
@@ -17,4 +17,4 @@ set_target_properties(automoc4  PROPERTI
 target_link_libraries(automoc4 ${QT_QTCORE_LIBRARY})
 
 install(TARGETS automoc4 DESTINATION bin)
-install(FILES Automoc4Config.cmake automoc4.files.in  DESTINATION  lib/automoc4)
+install(FILES Automoc4Config.cmake automoc4.files.in  DESTINATION  lib${LIB_SUFFIX}/automoc4)


--- NEW FILE automoc.spec ---
%define snaptag .20080527svn811390

Name:           automoc
Version:        1.0
Release:        0.3%{?snaptag}%{?dist}
Summary:        KDE4 automoc
Group:          Development/Tools
License:        BSD
URL:            http://www.kde.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source0:        http://rpm.binaryhelix.net/SOURCES/%{name}-%{version}%{?snaptag}.tar.gz
Patch0:         automoc-1.0-lib64.patch

Requires:       cmake
BuildRequires:  cmake qt4-devel kde-filesystem

%description
KDE4 automoc


%prep
%setup -q
%patch0 -p1 -b .lib64


%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd

make %{?_smp_mflags} VERBOSE=1 -C %{_target_platform}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}
# Put things in proper places
# Put Automoc4Config.cmake in proper place
%{__mkdir} -p %{buildroot}%{_datadir}/cmake/Modules
%{__mv} %{buildroot}%{_libdir}/automoc4/Automoc4Config.cmake \
	%{buildroot}%{_datadir}/cmake/Modules/Automoc4Config.cmake
# Remove automoc4.files.in (and /usr/lib, since it's not needed)
%{__rm} -rf %{buildroot}%{_libdir}




%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc automoc4.files.in
%{_bindir}/automoc4
%{_datadir}/cmake/Modules/Automoc4Config.cmake



%changelog
* Thu May 29 2008 Lorenzo Villani <lvillani at binaryhelix.net> - 1.0-0.3.20080527svn811390
- Added 'cmake' to Requires

* Wed May 28 2008 Lorenzo Villani <lvillani at 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 at binaryhelix.net> - 1.0-0.1.20080527svn811390
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/automoc/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 May 2008 20:17:16 -0000	1.1
+++ .cvsignore	1 Jun 2008 10:57:37 -0000	1.2
@@ -0,0 +1 @@
+automoc-1.0.20080527svn811390.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/automoc/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 20:17:16 -0000	1.1
+++ sources	1 Jun 2008 10:57:37 -0000	1.2
@@ -0,0 +1 @@
+577b4c8ac4e9ebce24d57af26b1cb337  automoc-1.0.20080527svn811390.tar.gz




More information about the fedora-extras-commits mailing list