SPECS: automoc4.spec (NEW) - from kde4-automoc.spec

shadzik shadzik at pld-linux.org
Tue Jun 24 21:28:01 CEST 2008


Author: shadzik                      Date: Tue Jun 24 19:28:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- from kde4-automoc.spec

---- Files affected:
SPECS:
   automoc4.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/automoc4.spec
diff -u /dev/null SPECS/automoc4.spec:1.1
--- /dev/null	Tue Jun 24 21:28:01 2008
+++ SPECS/automoc4.spec	Tue Jun 24 21:27:55 2008
@@ -0,0 +1,89 @@
+# $Revision$, $Date$
+%define		orgname	automoc
+%define		snap	811226
+
+Summary:	automoc
+Summary(pl.UTF-8):	automoc
+Name:		kde4-automoc
+Version:	4.0.81
+Release:	0.%{snap}.1
+License:	GPL v2
+Group:		X11/Applications
+Source0:	%{orgname}-0.0.%{snap}.tar.bz2
+# Source0-md5:	ad6209138f9c80438c464c8922bd80ec
+Patch0:		%{name}-lib64.patch
+BuildRequires:	cmake
+BuildRequires:	rpmbuild(macros) >= 1.293
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+automoc.
+
+%description -l pl.UTF-8
+automoc.
+
+%prep
+%setup -q -n %{orgname}
+%patch0 -p0
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" != "lib"
+	-DLIB_SUFFIX=64 \
+%endif
+	-DQT_QMAKE_EXECUTABLE=%{_bindir}/qmake-qt4 \
+	../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/automoc4
+%dir %{_libdir}/automoc4
+%{_libdir}/automoc4/Automoc4Config.cmake
+%{_libdir}/automoc4/automoc4.files.in
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/06/24 19:27:55  shadzik
+- from kde4-automoc.spec
+
+Revision 1.7  2008/06/12 17:52:16  shadzik
+- better versioning with fake kde version
+
+Revision 1.6  2008-05-27 07:52:43  pluto
+- use lib64.patch.
+
+Revision 1.5  2008-05-24 18:14:07  shadzik
+- always apply lib64.patch
+
+Revision 1.4  2008-05-24 13:48:28  shadzik
+- real lib64 fix
+
+Revision 1.3  2008-05-24 13:40:50  shadzik
+- tabs
+
+Revision 1.2  2008-05-24 13:19:46  paszczus
+- lib64 fixes
+
+Revision 1.1  2008-05-24 10:41:41  rotom
+- initial
================================================================


More information about the pld-cvs-commit mailing list