commit 9d4d0e9e09ad72079272ff1a1496b35f7959b7a14f2a532dbef295a3ef385b8c Author: Ismail Dönmez Date: Sun Jun 3 07:38:49 2012 +0000 Accepting request 123187 from home:jengelh:dev New generation of libmowgli (incompatible with libmowgli-1.0.0, hence new package akin to glib<->glib2) OBS-URL: https://build.opensuse.org/request/show/123187 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libmowgli-2.0.0.tar.xz b/libmowgli-2.0.0.tar.xz new file mode 100644 index 0000000..78499d7 --- /dev/null +++ b/libmowgli-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5ce2a24fef5fca45faf47f3b36b3ba5ed4158e6565c78468da572f7bca7cf4f +size 156704 diff --git a/libmowgli2.changes b/libmowgli2.changes new file mode 100644 index 0000000..1042f15 --- /dev/null +++ b/libmowgli2.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 31 12:35:31 UTC 2012 - jengelh@inai.de + +- Initial package for build.opensuse.org +- This mostly a rewrite of libmowgli, with a fresh history diff --git a/libmowgli2.spec b/libmowgli2.spec new file mode 100644 index 0000000..fc5b288 --- /dev/null +++ b/libmowgli2.spec @@ -0,0 +1,104 @@ +# +# spec file for package libmowgli2 +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libmowgli2 +%define lname libmowgli-2-0 +Summary: A development framework for C (like GLib) +License: MIT +Group: Development/Libraries/C and C++ +Version: 2.0.0 +Release: 0 +Url: http://atheme.org/project/mowgli + +#Git-Clone: git://github.com/atheme/libmowgli-2 +#DL-URL: http://atheme.org/downloads/libmowgli-2.0.0.tar.gz +Source: libmowgli-%version.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config +BuildRequires: xz + +%description +mowgli is a development framework for C (like GLib), which provides +high performance and highly flexible algorithms. It can be used as a +suppliment to GLib (to add additional functions (dictionaries, +hashes), or replace some of the slow GLib list manipulation +functions), or stand alone. It also provides a powerful hook system +and convenient logging for your code, as well as a high performance +block allocator. + +%package -n %lname +Summary: Shared library from libmowgli v2 +Group: System/Libraries + +%description -n %lname +mowgli is a development framework for C (like GLib), which provides +high performance and highly flexible algorithms. It can be used as a +suppliment to GLib (to add additional functions (dictionaries, +hashes), or replace some of the slow GLib list manipulation +functions), or stand alone. It also provides a powerful hook system +and convenient logging for your code, as well as a high performance +block allocator. + +This package holds the shared library from libmowgli v2. + +%package devel +Summary: The development files for libmowgli v2 +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Requires: glibc-devel + +%description devel +mowgli is a development framework for C (like GLib), which provides +high performance and highly flexible algorithms. It can be used as a +suppliment to GLib (to add additional functions (dictionaries, +hashes), or replace some of the slow GLib list manipulation +functions), or stand alone. It also provides a powerful hook system +and convenient logging for your code, as well as a high performance +block allocator. + +This package holds the development files for libmowgli v2. + +%prep +%setup -qn libmowgli-%version + +%build +if [ ! -e configure ]; then + ./autogen.sh; +fi; +%configure +make %{?_smp_mflags} + +%install +%makeinstall + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%_libdir/libmowgli-2.so.0* + +%files devel +%defattr(-,root,root) +%doc AUTHORS COPYING doc/BOOST README +%_includedir/libmowgli-2 +%_libdir/libmowgli-2.so +%_libdir/pkgconfig/libmowgli-2.pc + +%changelog