From 8cc3479fd5beb4d0dfd25b32d98a5045e3b0d73c37ba6b5546f87f00e0d30449 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 31 May 2007 05:50:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Archiving/lzop?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++ .gitignore | 1 + lzop.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 lzop.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/lzop.spec b/lzop.spec new file mode 100644 index 0000000..6bb4d23 --- /dev/null +++ b/lzop.spec @@ -0,0 +1,56 @@ +# norootforbuild + +%define _prefix /usr + +Name: lzop +Version: 1.01 +Release: 0 +Summary: LZOP is a fast File Compressor +Source: http://www.lzop.org/download/lzop-%{version}.tar.gz +Patch1: lzop-lzo2.patch +URL: http://www.oberhumer.com/opensource/lzop/ +Group: Archiving/Compression +License: GNU General Public License (GPL) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: lzo lzo-devel >= 2.0.0 +BuildRequires: gcc make glibc-devel +BuildRequires: autoconf automake libtool + +%description +lzop is a file compressor similar to gzip. Its main advantages over gzip +are much higher compression and decompression speed at the cost +of compression ratio. + +lzop was designed with the following goals in mind: +- speed (both compression and decompression) +- reasonable drop-in compatibility to gzip +- portability + +%debug_package +%prep +%setup -q +%patch1 +%patch2 + +%build +export CPPFLAGS="-I/usr/include/lzo" +export LDFLAGS="-L%{_libdir}" +%configure +%__make %{?jobs:-j%{jobs}} + +%install +%makeinstall + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING NEWS README THANKS +%{_bindir}/lzop +%doc %{_mandir}/man1/lzop.1* + +%changelog +* Thu May 31 2007 Pascal Bleser +- initial submission to openSUSE Build Service +- patch to compile against lzo 2