From fd8e591ba739a62b3e110b11234e5afdc1b0ce5ad86373a8a92f07fc06f8e9d4 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Sun, 14 Oct 2012 03:20:22 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + libmaa-1.3.2.tar.bz2 | 3 ++ libmaa.changes | 5 +++ libmaa.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 117 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libmaa-1.3.2.tar.bz2 create mode 100644 libmaa.changes create mode 100644 libmaa.spec 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/libmaa-1.3.2.tar.bz2 b/libmaa-1.3.2.tar.bz2 new file mode 100644 index 0000000..34d16fb --- /dev/null +++ b/libmaa-1.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:360edac7559917ce2c1e5664ba5d587df38e9d406ea89349c621baabee7d6a4f +size 253327 diff --git a/libmaa.changes b/libmaa.changes new file mode 100644 index 0000000..0ca3a61 --- /dev/null +++ b/libmaa.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Nov 27 05:26:01 UTC 2011 - brunciter@localhost.lan + +- initial package + diff --git a/libmaa.spec b/libmaa.spec new file mode 100644 index 0000000..a715a10 --- /dev/null +++ b/libmaa.spec @@ -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