source: projects/specs/trunk/n/nettle/nettle-vl.spec @ 12546

Revision 12546, 6.4 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

RevLine 
[8264]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[5238]3Summary:        A low-level cryptographic library
[9028]4Summary(ja):    低レベル暗号化ライブラリ
[12487]5Name:           nettle
[12546]6Version:        3.7.1
[12487]7Release:        1%{?_dist_release}
8Group:          system
9Vendor:         Project Vine
10Distribution:   Vine Linux
[5238]11
[12487]12License:        LGPLv3+ or GPLv2+
[5238]13URL:            http://www.lysator.liu.se/~nisse/nettle/
[12522]14Source0:        https://ftp.gnu.org/gnu/nettle/nettle-%{version}.tar.gz
[12487]15Patch0:         nettle-3.4-annocheck.patch
[9145]16
[5238]17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[12487]18BuildRequires:  gettext-devel
[5238]19BuildRequires:  gmp-devel
20BuildRequires:  m4
21
22Requires(post): /sbin/install-info
23Requires(preun): /sbin/install-info
24
[12487]25%description
26Nettle is a cryptographic library that is designed to fit easily in more
27or less any context: In crypto toolkits for object-oriented languages
28(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
29kernel space.
[5238]30
[12487]31
[5238]32%package devel
33Summary:        Development headers for a low-level cryptographic library
[9028]34Summary(ja):    低レベル暗号化ライブラリの開発ヘッダ
[12487]35Group:          programming
[5238]36Requires:       %{name} = %{version}-%{release}
[10542]37Requires:       gmp-devel
[5238]38
[12487]39%description devel
40Nettle is a cryptographic library that is designed to fit easily in more
41or less any context: In crypto toolkits for object-oriented languages
42(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
43kernel space.  This package contains kernel headers.
[5238]44
[12487]45
[8264]46%if %{build_compat32}
47%package -n compat32-%{name}
48Summary:        A low-level cryptographic library
[9028]49Summary(ja):    低レベル暗号化ライブラリ
[12487]50Group:          system
[8264]51Requires:       %{name} = %{version}-%{release}
52
[12487]53%description -n compat32-%{name}
54Nettle is a cryptographic library that is designed to fit easily in more
55or less any context: In crypto toolkits for object-oriented languages
56(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
57kernel space.
58
59
[8264]60%package -n compat32-%{name}-devel
61Summary:        Development headers for a low-level cryptographic library
[9028]62Summary(ja):    低レベル暗号化ライブラリの開発ヘッダ
[12487]63Group:          programming
[9145]64Requires:       %{name}-devel = %{version}-%{release}
65Requires:       compat32-%{name} = %{version}-%{release}
[10542]66Requires:       compat32-gmp-devel
[8264]67
68%description -n compat32-%{name}-devel
69Nettle is a cryptographic library that is designed to fit easily in more
70or less any context: In crypto toolkits for object-oriented languages
71(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
72kernel space.  This package contains compat libraries.
73%endif
74
[5238]75
[12487]76%debug_package
77
78
[5238]79%prep
[12487]80%autosetup -p1
[5238]81
[12487]82
[5238]83%build
[12487]84autoreconf -ifv
85%configure --enable-shared --enable-fat
[5238]86make %{?_smp_mflags}
87
[12487]88
[5238]89%install
90rm -rf $RPM_BUILD_ROOT
91make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
92make install-shared DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
93mkdir -p $RPM_BUILD_ROOT%{_infodir}
94install -p -m 644 nettle.info $RPM_BUILD_ROOT%{_infodir}/
95
[8152]96chmod 755 $RPM_BUILD_ROOT%{_libdir}/libhogweed.so.*
97chmod 755 $RPM_BUILD_ROOT%{_libdir}/libnettle.so.*
98
[5238]99rm -rf %{buildroot}/%{_libdir}/*.a
100rm -rf %{buildroot}/%{_infodir}/dir
101
[12487]102
[5238]103%check
104make check
105
[12487]106
[5238]107%clean
108rm -rf $RPM_BUILD_ROOT
109
[12487]110
[5238]111%files
112%defattr(-,root,root,-)
[12062]113%license COPYING*
[9898]114%doc AUTHORS ChangeLog NEWS README TODO
[5238]115%{_infodir}/nettle.info.gz
116%{_bindir}/nettle-hash
117%{_bindir}/nettle-lfib-stream
118%{_bindir}/pkcs1-conv
119%{_bindir}/sexp-conv
[9898]120%{_bindir}/nettle-pbkdf2
[8152]121%{_libdir}/libhogweed.so.*
122%{_libdir}/libnettle.so.*
[5238]123
124%files devel
125%defattr(-,root,root,-)
[9898]126%doc descore.README nettle.html nettle.pdf
[8152]127%{_libdir}/libhogweed.so
128%{_libdir}/libnettle.so
[5238]129%{_includedir}/nettle
[12487]130%{_libdir}/pkgconfig/*
[5238]131
[8264]132# compat32
133%if %{build_compat32}
134%files -n compat32-%{name}
135%defattr(-, root, root, 0755)
136%{_libdir}/libhogweed.so.*
137%{_libdir}/libnettle.so.*
138
139%files -n compat32-%{name}-devel
140%defattr(-, root, root, 0755)
141%{_libdir}/libhogweed.so
142%{_libdir}/libnettle.so
143%endif
144
[5238]145
146%post
147/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
148/sbin/ldconfig
149
150%preun
151if [ $1 = 0 ]; then
152  /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
153fi
154
155%postun -p /sbin/ldconfig
156
[8264]157%if %{build_compat32}
158%post -n compat32-%{name} -p /sbin/ldconfig
159%postun -n compat32-%{name} -p /sbin/ldconfig
160%endif
[5238]161
[12487]162
[5238]163%changelog
[12546]164* Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7.1-1
165- new upstream release.
166
[12522]167* Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7-1
168- new upstream release.
169
[12487]170* Tue Sep 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.6-1
171- new upstream release.
172- imported Patch0 from rawhide.
173
[12062]174* Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.1-1
175- new upstream release.
176
[11892]177* Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4-1
178- new upstream release.
179
[10542]180* Tue Jul  5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2-1
181- new upstream release.
182
[9898]183* Mon Dec 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.1.1-1
184- new upstream release
185
[9145]186* Thu Dec 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.7.1-4
187- fixed Requires typo of compat32-nettle-devel package
188
[9028]189* Sun Oct 26 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.7.1-3
190- moved nettle to System Environment/Libraries Group
191
[8264]192* Sun Feb  9 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.7.1-2
193- add compat32,compat32-devel packages
194
[8152]195* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.7.1-1
196- update to 2.7.1
197
[5238]198* Fri Dec 02 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.4-1
199- initial build for VineSeed
200
201* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-7
202- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
203
204* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-6
205- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
206
207* Thu Apr 10 2008 Ian Weller <ianweller@gmail.com> 1.15-5
208- Moved static lib to -static
209
210* Mon Mar 24 2008 Ian Weller <ianweller@gmail.com> 1.15-4
211- Added libraries and ldconfig
212
213* Mon Feb 18 2008 Ian Weller <ianweller@gmail.com> 1.15-3
214- Added provides -static to -devel
215
216* Sun Feb 17 2008 Ian Weller <ianweller@gmail.com> 1.15-2
217- Removed redundant requires
218- Removed redundant documentation between packages
219- Fixed license tag
220- Fixed -devel description
221- Added the static library back to -devel
222- Added make clean
223
224* Fri Feb 08 2008 Ian Weller <ianweller@gmail.com> 1.15-1
225- First package build.
Note: See TracBrowser for help on using the repository browser.