SHA256
1
0
forked from pool/libmowgli2

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
This commit is contained in:
Ismail Dönmez 2012-06-03 07:38:49 +00:00 committed by Git OBS Bridge
commit 9d4d0e9e09
5 changed files with 136 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libmowgli-2.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5ce2a24fef5fca45faf47f3b36b3ba5ed4158e6565c78468da572f7bca7cf4f
size 156704

5
libmowgli2.changes Normal file
View File

@ -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

104
libmowgli2.spec Normal file
View File

@ -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