From c819969e991486fd9f411953dcb10b5539888a281ca694cec92338a722f312af Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 15 Dec 2006 18:42:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzio?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + libzio-0.3.dif | 17 ++++++++++ libzio-0.3.tar.bz2 | 3 ++ libzio.changes | 42 +++++++++++++++++++++++++ libzio.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 163 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libzio-0.3.dif create mode 100644 libzio-0.3.tar.bz2 create mode 100644 libzio.changes create mode 100644 libzio.spec create mode 100644 ready 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/libzio-0.3.dif b/libzio-0.3.dif new file mode 100644 index 0000000..7e48c26 --- /dev/null +++ b/libzio-0.3.dif @@ -0,0 +1,17 @@ +--- lzw.h ++++ lzw.h 2006-12-15 10:43:48.000000000 +0100 +@@ -67,11 +67,12 @@ static inline int sigucmask(int how, con + static inline unsigned long int sig_ia64_mask(const sigset_t set) + { + unsigned long int mask = 0; +- int cnt = sizeof(unsigned long int); ++ int cnt = (8 * sizeof(unsigned long int)); ++ if (cnt > NSIG) cnt = NSIG; + while (--cnt >= 0) { + if (!sigismember(&set, cnt)) + continue; +- mask |= sigmask(cnt); ++ mask |= (1 << (cnt - 1)); /* sigmask macro is is not usable for BSD way */ + } + return mask; + } diff --git a/libzio-0.3.tar.bz2 b/libzio-0.3.tar.bz2 new file mode 100644 index 0000000..6759ff8 --- /dev/null +++ b/libzio-0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea056e3ce5c6d4fa079134d0ead39dcfdab493fe030938a72c422c6ebf267f12 +size 16367 diff --git a/libzio.changes b/libzio.changes new file mode 100644 index 0000000..e2bb35f --- /dev/null +++ b/libzio.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Fri Dec 15 10:44:07 CET 2006 - werner@suse.de + +- Can not use sigmask() macro in ia64 because its definition is + for sigset_t array only but not for single ulong + +------------------------------------------------------------------- +Tue Dec 12 18:36:35 CET 2006 - werner@suse.de + +- Add support for the old LZW (.Z) format + +------------------------------------------------------------------- +Wed Jun 21 17:07:10 CEST 2006 - werner@suse.de + +- Remove self provide + +------------------------------------------------------------------- +Wed Jan 25 21:37:50 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Apr 21 17:27:24 CEST 2004 - werner@suse.de + +- Add missed _libdir usage + +------------------------------------------------------------------- +Wed Apr 21 15:31:19 CEST 2004 - werner@suse.de + +- Provide shared lib for linkage + +------------------------------------------------------------------- +Wed Apr 21 11:52:16 CEST 2004 - werner@suse.de + +- Add magic detection of standard unix compress + +------------------------------------------------------------------- +Tue Apr 20 17:24:55 CEST 2004 - werner@suse.de + +- Initial version 0.1 of libzio, the wrapper library to zlib/libbz2 + +------------------------------------------------------------------- diff --git a/libzio.spec b/libzio.spec new file mode 100644 index 0000000..fbd8bce --- /dev/null +++ b/libzio.spec @@ -0,0 +1,77 @@ +# +# spec file for package libzio (Version 0.3) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: libzio +License: GNU General Public License (GPL) +Group: System/Libraries +Autoreqprov: on +Version: 0.3 +Release: 3 +Summary: A Library for Accessing Compressed Text Files +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: libzio-%{version}.tar.bz2 +#Patch: libzio-%{version}.dif + +%description +Libzio provides a wrapper function for reading or writing gzip or bzip2 +files with FILE streams. + + + +Authors: +-------- + Werner Fink + +%prep +%setup -q +#%patch + +%build +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-,root,root) +%doc README COPYING +%{_libdir}/libzio.a +%{_libdir}/libzio.so +%{_libdir}/libzio.so.0 +%{_libdir}/libzio.so.0.3 +%{_mandir}/man3/fzopen.3* +/usr/include/zio.h + +%changelog -n libzio +* Fri Dec 15 2006 - werner@suse.de +- Can not use sigmask() macro in ia64 because its definition is + for sigset_t array only but not for single ulong +* Tue Dec 12 2006 - werner@suse.de +- Add support for the old LZW (.Z) format +* Wed Jun 21 2006 - werner@suse.de +- Remove self provide +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Apr 21 2004 - werner@suse.de +- Add missed _libdir usage +* Wed Apr 21 2004 - werner@suse.de +- Provide shared lib for linkage +* Wed Apr 21 2004 - werner@suse.de +- Add magic detection of standard unix compress +* Tue Apr 20 2004 - werner@suse.de +- Initial version 0.1 of libzio, the wrapper library to zlib/libbz2 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4