I have made the following changes intended for : CE:UX:MTF / libqmlog Please review and accept ASAP - BOSS has already processed this request and suggests ??? See the "Messages from BOSS" section below
https://build.pub.meego.com/request/show/2654 Thank You, bossbot ([email protected]) [This message was auto-generated] --- Request # 2654: Messages from BOSS: None State: new 2011-10-24T17:24:07 bossbot Reviews: from bossbot :BOSS suggests accepting this review. See email for more details. BOSS accepted this review because: Target repo CE_UX_MTF_armv7hl found. accepted on No date Changes: submit: Project:MTF / libqmlog -> CE:UX:MTF / libqmlog Index: qmlog-0.10.tar.bz2 =================================================================== Binary file qmlog-0.10.tar.bz2 added Index: libqmlog.spec =================================================================== --- libqmlog.spec (revision 0) +++ libqmlog.spec (revision 4) @@ -0,0 +1,114 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.23 +# +# >> macros +%define _name qmlog +# << macros + +Name: libqmlog +Summary: Generic logging library +Version: 0.10 +Release: 1 +Group: System/System Control +License: LGPLv2 +URL: http://meego.gitorious.org/meego-middleware/qmlog +Source0: %{_name}-%{version}.tar.bz2 +Source100: libqmlog.yaml +Patch0: %{name}-0.0.9-librt.patch +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: pkgconfig(QtCore) >= 4.5 + + +%description +This package provides a library for writing log. + + +%package tests +Summary: Testcases for qmlog library +Group: Development/System +Requires: %{name} = %{version}-%{release} +Requires: testrunner-lite + +%description tests +%{summary}. + +%package devel +Summary: Development package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig(QtCore) >= 4.5 + +%description devel +Provides header files for qmlog library. + + +%prep +%setup -q -n %{_name}-%{version} + +# %{name}-0.0.9-librt.patch +%patch0 -p1 +# >> setup +# << setup + +%build +# >> build pre +export QMLOG_VERSION=`head -n1 debian/changelog | sed "s/.*(\([^)+]*\).*/\1/"` +qmake +make +# << build pre + + + +# >> build post +# << build post +%install +rm -rf %{buildroot} +# >> install pre +# << install pre + +# >> install post +%qmake_install +install -d %{buildroot}/%{_datadir}/%{name}-tests/ +mv %{buildroot}/%{_datadir}/%{_name}-tests/tests.xml %{buildroot}/%{_datadir}/%{name}-tests/tests.xml +# << install post + + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + + + + + + + +%files +%defattr(-,root,root,-) +# >> files +%doc COPYING debian/changelog debian/copyright +%{_libdir}/%{name}.so.* +# << files + + +%files tests +%defattr(-,root,root,-) +# >> files tests +%doc COPYING +%{_bindir}/qmlog-example +%{_datadir}/%{name}-tests/tests.xml +# << files tests + +%files devel +%defattr(-,root,root,-) +# >> files devel +%doc COPYING +%{_includedir}/* +%{_libdir}/%{name}.so +%{_datadir}/qt4/mkspecs/features/qmlog.prf +# << files devel + Index: libqmlog-0.0.9-librt.patch =================================================================== --- libqmlog-0.0.9-librt.patch (revision 0) +++ libqmlog-0.0.9-librt.patch (revision 4) @@ -0,0 +1,20 @@ +diff --git a/examples/application/application.pro b/examples/application/application.pro +index 9927010..6feb460 100644 +--- a/examples/application/application.pro ++++ b/examples/application/application.pro +@@ -5,7 +5,7 @@ SOURCES += qmlog-example.cpp + INCLUDEPATH += ../../src/ ../../ + + QMAKE_LIBDIR_FLAGS += -L../../src +-LIBS += -lqmlog ++LIBS += -lqmlog -lrt + + target.path = $$(DESTDIR)/usr/bin + +diff --git a/src/qmlog.prf b/src/qmlog.prf +index 8b6e834..ec24c52 100644 +--- a/src/qmlog.prf ++++ b/src/qmlog.prf +@@ -1 +1 @@ +-LIBS += -lqmlog ++LIBS += -lqmlog -lrt Index: libqmlog.changes =================================================================== --- libqmlog.changes (revision 0) +++ libqmlog.changes (revision 4) @@ -0,0 +1,17 @@ +* Mon Oct 24 2011 Marko Saukko <[email protected]> - 0.10-1 +- Added .yaml for spectacle. +- Fixed some packaging and changelog issues. + +* Fri Mar 04 2011 Tapio Rantala <[email protected]> - 0.10-1 +- New upstream version (FEA#5513) + +* Mon Dec 27 2010 Tapio Rantala <[email protected]> - 0.0.9-2 +- Add librt patch, -lrt is needed when using qmlog (BMC#12785) +- Drop linklibs patch, included in librt patch + +* Wed Nov 24 2010 Tapio Rantala <[email protected]> - 0.0.9-1 +- New upstream version (BMC#10589) +- Add linklibs patch to fix linking + +* Mon Aug 23 2010 Tapio Rantala <[email protected]> - 0.0.5-1 +- Initial meego packaging Index: libqmlog.yaml =================================================================== --- libqmlog.yaml (revision 0) +++ libqmlog.yaml (revision 4) @@ -0,0 +1,33 @@ +Name: libqmlog +Summary: Generic logging library +Version: 0.10 +Release: 1 +Group: System/System Control +License: LGPLv2 +URL: http://meego.gitorious.org/meego-middleware/qmlog +Sources: + - "%{_name}-%{version}.tar.bz2" +Patches: + - "%{name}-0.0.9-librt.patch" +Description: This package provides a library for writing log. + +PkgConfigBR: + - QtCore >= 4.5 +Configure: none +Builder: none +SetupOptions: -q -n %{_name}-%{version} +SubPackages: + - Name: tests + Summary: Testcases for qmlog library + Group: Development/System + Description: "%{summary}." + Requires: + - testrunner-lite + + - Name: devel + Summary: Development package for %{name} + Group: Development/Libraries + Description: Provides header files for qmlog library. + Requires: + - pkgconfig(QtCore) >= 4.5 +
