forked from pool/libmetalink
0.0.3
OBS-URL: https://build.opensuse.org/package/show/network:utilities/libmetalink?expand=0&rev=1
This commit is contained in:
commit
9acf938f8f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libmetalink-0.0.3.tar.bz2
Normal file
3
libmetalink-0.0.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bdc2cc0366b2b7bcf16eff31a5edc4d39b41430856afce04ad9dd9bbcc8c42c
|
||||
size 267023
|
5
libmetalink.changes
Normal file
5
libmetalink.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 1 23:48:44 UTC 2009 - pascal.bleser@opensuse.org
|
||||
|
||||
- initial package: 0.0.3
|
||||
|
94
libmetalink.spec
Normal file
94
libmetalink.spec
Normal file
@ -0,0 +1,94 @@
|
||||
# norootforbuild
|
||||
|
||||
%define soname 1
|
||||
|
||||
Name: libmetalink
|
||||
Version: 0.0.3
|
||||
Release: 0
|
||||
Summary: Metalink Library
|
||||
Source: http://launchpad.net/libmetalink/trunk/%{version}/+download/libmetalink-%{version}.tar.bz2
|
||||
URL: https://launchpad.net/libmetalink
|
||||
Group: System/Libraries
|
||||
License: MIT
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: gcc make glibc-devel pkgconfig
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: licenses
|
||||
|
||||
%description
|
||||
Libmetalink is a Metalink library written in C language. It is intended to
|
||||
provide the programs written in C to add Metalink functionality such as parsing
|
||||
Metalink XML files.
|
||||
|
||||
%package -n libmetalink%{soname}
|
||||
Summary: Metalink Library
|
||||
Group: System/Libraries
|
||||
Requires: licenses
|
||||
|
||||
%description -n libmetalink%{soname}
|
||||
Libmetalink is a Metalink library written in C language. It is intended to
|
||||
provide the programs written in C to add Metalink functionality such as parsing
|
||||
Metalink XML files.
|
||||
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Tatsuhiro Tsujikawa <tujikawa@users.sourceforge.net>
|
||||
|
||||
%package -n libmetalink-devel
|
||||
Summary: Metalink Library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libmetalink%{soname} = %{version}
|
||||
|
||||
%description -n libmetalink-devel
|
||||
Libmetalink is a Metalink library written in C language. It is intended to
|
||||
provide the programs written in C to add Metalink functionality such as parsing
|
||||
Metalink XML files.
|
||||
|
||||
%prep
|
||||
%setup -q -n "libmetalink-%{version}"
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static
|
||||
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%__rm -rf "%{buildroot}%{_datadir}/doc"
|
||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||
|
||||
h=/usr/share/doc/licenses/md5/$(md5sum COPYING|cut -f1 -d" ")
|
||||
test -e "$h" && %__ln_s -f "$h" COPYING
|
||||
|
||||
%post -n libmetalink%{soname} -p /sbin/ldconfig
|
||||
%postun -n libmetalink%{soname} -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files -n libmetalink%{soname}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING README
|
||||
%{_libdir}/libmetalink.so.%{soname}
|
||||
%{_libdir}/libmetalink.so.%{soname}.*
|
||||
|
||||
%files -n libmetalink-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/metalink
|
||||
%{_libdir}/libmetalink.so
|
||||
%{_libdir}/pkgconfig/libmetalink.pc
|
||||
%doc %{_mandir}/man3/metalink*.3*
|
||||
|
||||
%changelog
|
||||
# vim: set sw=3 ts=3 noet:
|
||||
# Local Variables:
|
||||
# mode: rpm-spec
|
||||
# tab-width: 3
|
||||
# End:
|
Loading…
Reference in New Issue
Block a user