source: projects/specs/trunk/lib/libz/libzip/libzip-vl.spec @ 12428

Revision 12428, 3.3 KB checked in by tomop, 4 years ago (diff)

updated 5 packages

cmake-3.18.0-1

jsoncpp-1.9.3-1

libarchive-3.4.3-1

libzip-1.7.3-1

xz-5.2.5-1

RevLine 
[11368]1%define _unpackaged_files_terminate_build 1
2
[521]3Summary:        C library for reading, creating, and modifying zip archives
4Name:           libzip
[12428]5Version:        1.7.3
[11368]6Release:        1%{?_dist_release}
[12428]7Group:          System Environment/Libraries
8Vendor:         Project Vine
9Distribution:   Vine Linux
[521]10
11License:        BSD
[11368]12URL:            https://libzip.org/
13Source0:        https://libzip.org/download/%{name}-%{version}.tar.xz
[521]14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[12428]16BuildRequires:  zlib-devel
[11368]17BuildRequires:  bzip2-devel
[12428]18BuildRequires:  xz-devel
19BuildRequires:  openssl-devel
[521]20BuildRequires:  pkgconfig
[11368]21BuildRequires:  cmake
[521]22
[12428]23BuildRequires:  perl
24BuildRequires:  perl(Cwd)
25BuildRequires:  perl(File::Copy)
26BuildRequires:  perl(File::Path)
27BuildRequires:  perl(Getopt::Long)
28BuildRequires:  perl(IPC::Open3)
29BuildRequires:  perl(Storable)
30BuildRequires:  perl(Symbol)
31BuildRequires:  perl(UNIVERSAL)
32BuildRequires:  perl(strict)
33BuildRequires:  perl(warnings)
34
[521]35%description
36libzip is a C library for reading, creating, and modifying zip archives. Files
37can be added from data buffers, files, or compressed data copied directly from
38other zip archives. Changes made without closing the archive can be reverted.
39The API is documented by man pages.
40
41%package devel
42Summary: Development files for %{name}
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
45Requires: pkgconfig
46Requires: zlib-devel
47
48%description devel
49The %{name}-devel package contains libraries and header files for
50developing applications that use %{name}.
51
[12428]52
[521]53%prep
[11368]54%autosetup -p1
[521]55
[12428]56
[521]57%build
[12428]58%cmake \
59  -DENABLE_COMMONCRYPTO:BOOL=OFF \
60  -DENABLE_GNUTLS:BOOL=OFF \
61  -DENABLE_MBEDTLS:BOOL=OFF \
62  -DENABLE_OPENSSL:BOOL=ON \
63  -DENABLE_WINDOWS_CRYPTO:BOOL=OFF \
64  -DENABLE_BZIP2:BOOL=ON \
65  -DENABLE_LZMA:BOOL=ON \
66  -DBUILD_TOOLS:BOOL=ON \
67  -DBUILD_REGRESS:BOOL=ON \
68  -DBUILD_EXAMPLES:BOOL=OFF \
69  -DBUILD_DOC:BOOL=ON \
70  .
71
[521]72make %{?_smp_mflags}
73
[12428]74
[521]75%install
76rm -rf $RPM_BUILD_ROOT
77make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
78
79
[12428]80%check
81make check
82
83
[521]84%clean
85rm -rf $RPM_BUILD_ROOT
86
[12428]87
[521]88%post -p /sbin/ldconfig
89
90%postun -p /sbin/ldconfig
91
[12428]92
[521]93%files
94%defattr(-,root,root,-)
[12428]95%license LICENSE*
96%doc AUTHORS THANKS *.md
[11368]97%{_bindir}/*
98%{_libdir}/libzip.so.*
[521]99%{_mandir}/man1/*zip*
100
101%files devel
102%defattr(-,root,root,-)
[11368]103%{_includedir}/*
[521]104%{_libdir}/libzip.so
105%{_libdir}/pkgconfig/libzip.pc
[12428]106%dir %{_libdir}/cmake
107%{_libdir}/cmake/libzip
[11368]108%{_mandir}/man3/*
[521]109
110
111%changelog
[12428]112* Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
113- new upstream release.
114
115* Sat Jul 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
116- new upstream release.
117- dropped all patches.
118
[11368]119* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-1
120- new upstream release.
121- import patches from rawhide.
122
[1901]123* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
124- rebuild with rpm-4.8.1 for pkg-config file
125
[521]126* Sat Mar  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.3-1
127- new upstream release
128- built with new toolchain
129
130* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-5
131- fixed %%changelog based on libzip-0.9-1vl5(VinePlus/5.0) package
132
133* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-4
134- Initial build for Vine Linux
135
136* Sat Feb 14 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9-1
137- initial release
138
Note: See TracBrowser for help on using the repository browser.