Accepting request 138019 from home:Mailaender:branches:Education

required for dictd

OBS-URL: https://build.opensuse.org/request/show/138019
OBS-URL: https://build.opensuse.org/package/show/Education/libmaa?expand=0&rev=1
This commit is contained in:
andrea florio 2012-10-14 03:20:22 +00:00 committed by Git OBS Bridge
commit fd8e591ba7
5 changed files with 117 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
libmaa-1.3.2.tar.bz2 Normal file
View File

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

5
libmaa.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Nov 27 05:26:01 UTC 2011 - brunciter@localhost.lan
- initial package

85
libmaa.spec Normal file
View File

@ -0,0 +1,85 @@
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define soname 3
Name: libmaa
Version: 1.3.2
Release: 1
License: GPL-2.0+
Summary: Library providing many low-level data structures
Url: http://www.dict.org
Group: System/Libraries
Source0: %{name}-%{version}.tar.bz2
BuildRequires: bison
BuildRequires: flex
BuildRequires: libtool
BuildRequires: pam-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The libmaa library provides many low-level data structures which are
helpful for writing compilers, including hash tables, sets, lists,
debugging support, and memory management. Although libmaa was designed
and implemented as a foundation for the kheperalong, the data structures
are generally applicable to a wide range of programming problems.
The memory management routines are especially helpful for improving the
performance of memory-intensive applications.
%package -n %{name}%{soname}
Group: System/Libraries
PreReq: glibc
Summary: Library providing many low-level data structures
%description -n %{name}%{soname}
The libmaa library provides many low-level data structures which are
helpful for writing compilers, including hash tables, sets, lists,
debugging support, and memory management. Although libmaa was designed
and implemented as a foundation for the kheperalong, the data structures
are generally applicable to a wide range of programming problems.
The memory management routines are especially helpful for improving the
performance of memory-intensive applications.
%package -n %{name}-devel
Summary: Development files for libmaa
Group: Development/Libraries/C and C++
Requires: libmaa%{soname} = %{version}
%description -n %{name}-devel
This RPM contains the development files for libmaa
%prep
%setup -q
%build
%configure --enable-dictorg
%__sed -i 's/-L.\/libmaa-1.3.1\/.libs/.\/.libs/' Makefile
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{_libdir}/*.a
%post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig
%files -n %{name}%{soname}
%defattr(-,root,root)
%{_libdir}/*.so.*
%files -n %{name}-devel
%defattr(-,root,root)
%{_includedir}/maa*
%{_libdir}/*.so
%changelog