[meego-commits] 10818: Changes to devel:resourcepolicy/libprolog
Kalle Lampila
no_reply at build.meego.com
Fri Dec 10 17:05:32 UTC 2010
Hi,
I have made the following changes to libprolog in project devel:resourcepolicy. Please review and accept ASAP.
Thank You,
Kalle Lampila
[This message was auto-generated]
---
Request #10818:
submit: home:kalle.lampila:branches:devel:resourcepolicy/libprolog(r2)(cleanup) -> devel:resourcepolicy/libprolog
Message:
New version
State: new 2010-12-10T09:05:31 kalle.lampila
Comment: None
changes files:
--------------
--- libprolog.changes
+++ libprolog.changes
@@ -0,0 +1,4 @@
+* Thu Dec 09 2010 Kalle Lampila <kalle.lampila at cybercom.com> - 0.1.0
+- Packaging now uses spectacle
+- Version update
+
new:
----
libprolog.yaml
spec files:
-----------
--- libprolog.spec
+++ libprolog.spec
@@ -1,87 +1,138 @@
-Summary: A convenience library Nokia policy engine prolog library
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22git
+#
+# >> macros
+# << macros
+
Name: libprolog
+Summary: A convenience library Nokia policy engine prolog library
Version: 0.1.0
Release: 1
-License: LGPLv2.1
Group: System/Libraries
+License: LGPLv2.1
URL: http://meego.gitorious.org/maemo-multimedia/prolog
Source0: %{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Source100: libprolog.yaml
+Requires: pl >= 5.6.32
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(ohm)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dbus-glib-1)
-BuildRequires: swi-prolog-devel
-Requires: pl >= 5.6.32
+BuildRequires: pkgconfig(swi-prolog)
+
+
+%description
+The prolog convenience library contains a small set of functions that
+are supposed to make embedding the SWI-prolog interpreter easier.
+
%package devel
-Summary: Files necessary for developing with the prolog convenience library
+Summary: Development files for %{name}
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development files for %{name}
+
%package -n prolog-extensions
Summary: Prolog extensions for the Nokia policy framework
Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description -n prolog-extensions
+A set of prolog extensions needed by the policy framework (and/or its
+prototype implementation).
+
%package -n ohm-plugin-ruleengine
Summary: A prolog-based OHM rule engine plugin
Group: System/Daemons
+Requires: %{name} = %{version}-%{release}
Requires: ohm
-%description
-The prolog convenience library contains a small set of functions that
-are supposed to make embedding the SWI-prolog interpreter easier.
-
-%description devel
-This package contains files necessary for developing with the prolog
-convenience library.
-
-%description -n prolog-extensions
-A set of prolog extensions needed by the policy framework (and/or its
-prototype implementation).
-
%description -n ohm-plugin-ruleengine
A prolog-based OHM rule engine plugin.
+
%prep
-%setup -q -n prolog
+%setup -q -n %{name}-%{version}
+
+# >> setup
+# << setup
%build
-%configure --disable-static --enable-extra-warnings
-make
+# >> build pre
+# << build pre
+
+%autogen --disable-static
+%configure --disable-static \
+ --enable-extra-warnings
+
+make %{?jobs:-j%jobs}
+# >> build post
+# << build post
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+# >> install pre
+# << install pre
%make_install
-%clean
-rm -rf $RPM_BUILD_ROOT
+# >> install post
+# << install post
+
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%post -n prolog-extensions -p /sbin/ldconfig
-%postun -n prolog-extensions -p /sbin/ldconfig
+
+%post -n prolog-extensions
+# >> post prolog-extensions
+/sbin/ldconfig
+# << post prolog-extensions
+
+%postun -n prolog-extensions
+# >> postun prolog-extensions
+/sbin/ldconfig
+# << postun prolog-extensions
+
+
%files
%defattr(-,root,root,-)
+# >> files
%{_libdir}/*.so.*
%{_datadir}/libprolog
%doc README COPYING INSTALL AUTHORS NEWS ChangeLog
+# << files
%files devel
%defattr(-,root,root,-)
+# >> files devel
%{_includedir}/prolog
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
+# << files devel
+
%files -n prolog-extensions
%defattr(-,root,root,-)
-%{_libdir}/prolog/extensions
+# >> files prolog-extensions
+%{_libdir}/prolog/extensions/
+# << files prolog-extensions
%files -n ohm-plugin-ruleengine
%defattr(-,root,root,-)
+# >> files ohm-plugin-ruleengine
%{_libdir}/ohm/libohm_rule_engine.so
%config %{_sysconfdir}/ohm/plugins.d/rule_engine.ini
+# << files ohm-plugin-ruleengine
+
other changes:
--------------
++++++ libprolog-0.1.0.tar.gz
107443 lines of diff (skipped)
++++++ libprolog.yaml (new)
--- libprolog.yaml
+++ libprolog.yaml
+Name: libprolog
+Summary: A convenience library Nokia policy engine prolog library
+Version: 0.1.0
+Release: 1
+Group: System/Libraries
+License: LGPLv2.1
+URL: http://meego.gitorious.org/maemo-multimedia/prolog
+Sources:
+ - "%{name}-%{version}.tar.gz"
+Description: |
+ The prolog convenience library contains a small set of functions that
+ are supposed to make embedding the SWI-prolog interpreter easier.
+
+Requires:
+ - pl >= 5.6.32
+PkgBR:
+PkgConfigBR:
+ - ohm
+ - glib-2.0
+ - dbus-glib-1
+ - swi-prolog
+Configure: autogen
+ConfigOptions:
+ - --enable-extra-warnings
+Builder: make
+AutoSubPackages:
+ - devel
+SubPackages:
+ - Name: prolog-extensions
+ AsWholeName: yes
+ Summary: Prolog extensions for the Nokia policy framework
+ Group: Development/Libraries
+ RequiresPost: /sbin/ldconfig
+ RequiresPostUn: /sbin/ldconfig
+ Description: |
+ A set of prolog extensions needed by the policy framework (and/or its
+ prototype implementation).
+
+ - Name: ohm-plugin-ruleengine
+ AsWholeName: yes
+ Summary: A prolog-based OHM rule engine plugin
+ Group: System/Daemons
+ Description: A prolog-based OHM rule engine plugin.
+ Requires:
+ - ohm
+
More information about the MeeGo-commits
mailing list