Hi, Why BuildRequires: pkgconfig(meegotouch) while having CONFIG+=nomeegotouch ?
BR Carsten Mun 2011/6/14 Luis Araujo <[email protected]>: > Hi, > Adding new package maliit-framework in project Trunk:Testing. Please review > and accept ASAP. > > Justification for this new package: > > New package maliit-framework (BMC#19154) > > Thank You, > Luis Araujo > > [This message was auto-generated] > > --- > > Request #20847: > > submit: home:araujo/maliit-framework(r5) -> Trunk:Testing/maliit-framework > > > Message: > New package maliit-framework (BMC#19154) > > State: new 2011-06-14T12:23:54 araujo > Comment: None > > > This is a NEW package in Trunk:Testing project. > The files in the new package: > maliit-framework/ > |__ Makefile > |__ maliit-framework-0.20.20.1.tar.bz2 > |__ maliit-framework-tests.patch > |__ maliit-framework.changes > |__ maliit-framework.spec > |__ maliit-framework.yaml > |__ meego-im-uiserver.desktop > |__ meego-im-uiserver.sh > > The content of the YAML file, maliit-framework.yaml: > =================================================================== > Name: maliit-framework > Summary: Core libraries of Maliit and server > Version: 0.20.20.1 > Release: 1 > Group: System/Libraries > License: LGPLv2.1 > URL: http://gitorious.org/maliit/maliit-framework > Sources: > - "%{name}-%{version}.tar.bz2" > ExtraSources: > - meego-im-uiserver.desktop;%{_sysconfdir}/xdg/autostart > - meego-im-uiserver.sh;%{_sysconfdir}/profile.d > Patches: > - maliit-framework-tests.patch > Description: | > Core libraries of Maliit and server > PkgBR: > - graphviz > PkgConfigBR: > - QtCore >= 4.6.0 > - dbus-1 > - gconf-2.0 > - meegotouch >= 0.20.77 > - meegotouch-controlpanel >= 0.7.20 > - x11 > - xcomposite > - xdamage > - xext > - xfixes > Provides: > - duiimframework >= 0.19.0 > - meegoimframework > 0.19.2 > Obsoletes: > - duiimframework < 0.19.0 > - meegoimframework <= 0.19.2 > Configure: none > Builder: qmake > QMakeOptions: > - CONFIG+=nomeegotouch > Files: > - "%{_libdir}/libmeegoimframework.so.*" > - "%{_libdir}/libmaliit.so.*" > - "%config %{_sysconfdir}/xdg/autostart/*.desktop" > - "%config %{_sysconfdir}/profile.d/meego-im-uiserver.sh" > - "%{_bindir}/meego-im-uiserver" > - "%{_libdir}/qt4/plugins/inputmethods/libminputcontext.so" > - "%{_datadir}/gconf/schemas/meego-im-framework.schemas" > RunFdupes: > - "%{_libdir}" > SubPackages: > - Name: devel > Summary: Maliit Framework Input Method Development Package > Group: Development/Libraries > Description: | > This package contains the files necessary to develop > input method plugins using Maliit > Files: > - "%{_libdir}/*.so" > - "%{_includedir}/meegoimframework/" > - "%{_datadir}/qt4/mkspecs/features/meegoimframework.prf" > - "%{_libdir}/pkgconfig/*.pc" > > - Name: tests > Summary: Maliit Framework Input Method Tests Package > Group: Development/Libraries > Description: | > This package contains the files necessary to test > the Maliit input method framework > Files: > - "%{_bindir}/maliit-exampleapp-plainqt" > - "%{_libdir}/maliit-framework-tests/" > - "%{_datadir}/maliit-framework-tests/" > > - Name: libmaliitquick > AsWholeName: yes > Summary: Maliit Framework Input Method Quick library > Group: Development/Libraries > Description: | > Maliit Input Method Quick library > Files: > - "%{_libdir}/libmeegoimquick.so.*" > > - Name: libmaliitquick-devel > AsWholeName: yes > Summary: Maliit Framework Input Method Quick development files > Group: Development/Libraries > Description: Development files for the Maliit Input Method Quick library > Files: > - "%{_includedir}/meegoimquick/" > - "%{_datadir}/qt4/mkspecs/features/meegoimquick.prf" > Requires: > - libmaliitquick > > =================================================================== > > > The content of the spec file, maliit-framework.spec: > =================================================================== > # > # Do NOT Edit the Auto-generated Part! > # Generated by: spectacle version 0.22 > # > # >> macros > # << macros > > Name: maliit-framework > Summary: Core libraries of Maliit and server > Version: 0.20.20.1 > Release: 1 > Group: System/Libraries > License: LGPLv2.1 > URL: http://gitorious.org/maliit/maliit-framework > Source0: %{name}-%{version}.tar.bz2 > Source1: meego-im-uiserver.desktop > Source2: meego-im-uiserver.sh > Source100: maliit-framework.yaml > Patch0: maliit-framework-tests.patch > Requires(pre): GConf2 > Requires(preun): GConf2 > Requires(post): /sbin/ldconfig > Requires(post): GConf2 > Requires(postun): /sbin/ldconfig > BuildRequires: pkgconfig(QtCore) >= 4.6.0 > BuildRequires: pkgconfig(dbus-1) > BuildRequires: pkgconfig(gconf-2.0) > BuildRequires: pkgconfig(meegotouch) >= 0.20.77 > BuildRequires: pkgconfig(meegotouch-controlpanel) >= 0.7.20 > BuildRequires: pkgconfig(x11) > BuildRequires: pkgconfig(xcomposite) > BuildRequires: pkgconfig(xdamage) > BuildRequires: pkgconfig(xext) > BuildRequires: pkgconfig(xfixes) > BuildRequires: graphviz > BuildRequires: fdupes > Provides: duiimframework >= 0.19.0 > Provides: meegoimframework > 0.19.2 > Obsoletes: duiimframework < 0.19.0 > Obsoletes: meegoimframework <= 0.19.2 > > > %description > Core libraries of Maliit and server > > > > %package devel > Summary: Maliit Framework Input Method Development Package > Group: Development/Libraries > Requires: %{name} = %{version}-%{release} > > %description devel > This package contains the files necessary to develop > input method plugins using Maliit > > > %package tests > Summary: Maliit Framework Input Method Tests Package > Group: Development/Libraries > Requires: %{name} = %{version}-%{release} > > %description tests > This package contains the files necessary to test > the Maliit input method framework > > > %package -n libmaliitquick > Summary: Maliit Framework Input Method Quick library > Group: Development/Libraries > Requires: %{name} = %{version}-%{release} > Requires(post): /sbin/ldconfig > Requires(postun): /sbin/ldconfig > > %description -n libmaliitquick > Maliit Input Method Quick library > > > %package -n libmaliitquick-devel > Summary: Maliit Framework Input Method Quick development files > Group: Development/Libraries > Requires: %{name} = %{version}-%{release} > Requires: libmaliitquick > > %description -n libmaliitquick-devel > Development files for the Maliit Input Method Quick library > > > %prep > %setup -q -n %{name}-%{version} > > # maliit-framework-tests.patch > %patch0 -p1 > # >> setup > # << setup > > %build > # >> build pre > # << build pre > > %qmake \ > CONFIG+=nomeegotouch > > make %{?jobs:-j%jobs} > > # >> build post > # << build post > %install > rm -rf %{buildroot} > # >> install pre > # << install pre > %qmake_install > mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart > cp -a %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart > mkdir -p %{buildroot}%{_sysconfdir}/profile.d > cp -a %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d > > > # >> install post > # << install post > %fdupes %{buildroot}/%{_libdir} > > %pre > if [ "$1" -gt 1 ]; then > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` > gconftool-2 --makefile-uninstall-rule \ > %{_datadir}/gconf/schemas/meego-im-framework.schemas \ > > /dev/null || : > fi > > %preun > if [ "$1" -eq 0 ]; then > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` > gconftool-2 --makefile-uninstall-rule \ > %{_datadir}/gconf/schemas/meego-im-framework.schemas \ > > /dev/null || : > fi > > %post > /sbin/ldconfig > export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` > gconftool-2 --makefile-install-rule \ > %{_datadir}/gconf/schemas/meego-im-framework.schemas > /dev/null || : > > %postun -p /sbin/ldconfig > > > > > > > > > > %post -n libmaliitquick -p /sbin/ldconfig > > %postun -n libmaliitquick -p /sbin/ldconfig > > > > > %files > %defattr(-,root,root,-) > %{_libdir}/libmeegoimframework.so.* > %{_libdir}/libmaliit.so.* > %config %{_sysconfdir}/xdg/autostart/*.desktop > %config %{_sysconfdir}/profile.d/meego-im-uiserver.sh > %{_bindir}/meego-im-uiserver > %{_libdir}/qt4/plugins/inputmethods/libminputcontext.so > %{_datadir}/gconf/schemas/meego-im-framework.schemas > # >> files > # << files > > > %files devel > %defattr(-,root,root,-) > %{_libdir}/*.so > %{_includedir}/meegoimframework/ > %{_datadir}/qt4/mkspecs/features/meegoimframework.prf > %{_libdir}/pkgconfig/*.pc > # >> files devel > # << files devel > > %files tests > %defattr(-,root,root,-) > %{_bindir}/maliit-exampleapp-plainqt > %{_libdir}/maliit-framework-tests/ > %{_datadir}/maliit-framework-tests/ > # >> files tests > # << files tests > > %files -n libmaliitquick > %defattr(-,root,root,-) > %{_libdir}/libmeegoimquick.so.* > # >> files libmaliitquick > # << files libmaliitquick > > %files -n libmaliitquick-devel > %defattr(-,root,root,-) > %{_includedir}/meegoimquick/ > %{_datadir}/qt4/mkspecs/features/meegoimquick.prf > # >> files libmaliitquick-devel > # << files libmaliitquick-devel > > > =================================================================== > > _______________________________________________ > MeeGo-commits mailing list > [email protected] > http://lists.meego.com/listinfo/meego-commits > _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
