forked from pool/libmowgli2
9d4d0e9e09
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
105 lines
3.3 KiB
RPMSpec
105 lines
3.3 KiB
RPMSpec
#
|
|
# 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
|