source: projects/specs/trunk/lib/libg/libgcrypt/libgcrypt-vl.spec @ 12522

Revision 12522, 5.9 KB checked in by tomop, 3 years ago (diff)

updated 16 packages

SDL2-2.0.14-1

gmp-6.2.1-1

gnupg2-2.2.27-1

gnutls-3.7.0-1

golang-1.15.7-1

iputils-20210202-1

libassuan-2.5.4-1

libgcrypt-1.9.1-1

libgpg-error-1.41-1

libksba-1.5.0-1

libusb1-1.0.24-1

nettle-3.7-1

npth-1.6-2

pcsc-lite-1.9.0-1

python3-3.8.7-1

tcpdump-4.9.3-2

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2Summary: A cryptographic library based on the code from GnuPG.
3Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
4Name: libgcrypt
5Version: 1.9.1
6Release: 1%{?_dist_release}
7Group: system
8Vendor: Project Vine
9Distribution: Vine Linux
10Packager: iwaim
11
12License: GPLv2+
13URL: https://www.gnupg.org/related_software/libgcrypt/index.html
14Source0: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
15Source1: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: libgpg-error-devel >= 0.5
19Requires: libgpg-error
20Requires(post,preun): /sbin/install-info
21
22%description
23This is a general purpose cryptographic library based on the code from
24GnuPG. It provides functions for all cryptograhic building blocks:
25symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash
26algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for
27all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large
28integer functions, random numbers and a lot of supporting functions.
29
30
31%package devel
32Summary: Development files for libgcrypt
33Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ
34Group: programming
35Requires: %{name} = %{version}-%{release}
36Requires: libgpg-error-devel
37
38%description devel
39Static libraries and header files from libgcrypt.
40
41
42%package -n compat32-%{name}
43Summary: A cryptographic library based on the code from GnuPG.
44Summary(ja): GnuPG のコードをベースとした暗号化ライブラリ
45Group: system
46Requires: %{name} = %{version}-%{release}
47
48%description -n compat32-%{name}
49This is a general purpose cryptographic library based on the code from
50GnuPG. It provides functions for all cryptograhic building blocks:
51symmetric ciphers (AES, DES, Blowfish, CAST5, Twofish, Arcfour), hash
52algorithms (MD4, MD5, RIPE-MD160, SHA-1, TIGER-192), MACs (HMAC for
53all hash algorithms), public key algorithms (RSA, ElGamal, DSA), large
54integer functions, random numbers and a lot of supporting functions.
55
56
57%package -n compat32-%{name}-devel
58Summary: Development files for libgcrypt
59Summary(ja): libgcrypt を使った開発に必要なヘッダやライブラリ
60Group: programming
61Requires: compat32-%{name} = %{version}-%{release}
62Requires: %{name}-devel = %{version}-%{release}
63Requires: compat32-libgpg-error-devel
64
65%description -n compat32-%{name}-devel
66Static libraries and header files from libgcrypt.
67
68
69%debug_package
70
71
72%prep
73%setup -q
74
75
76%build
77%configure --disable-static
78make
79
80
81%install
82[ "%{buildroot}" != / ] && rm -rf %{buildroot}
83%makeinstall
84rm -f %{buildroot}%{_infodir}/dir
85
86## remove unuse files
87rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
88
89
90%clean
91[ "%{buildroot}" != / ] && rm -rf %{buildroot}
92
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%post devel
98/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz ||:
99
100%preun devel
101if [ $1 = 0 ]; then
102    /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir ||:
103fi
104
105%post -n compat32-%{name} -p /sbin/ldconfig
106%postun -n compat32-%{name} -p /sbin/ldconfig
107
108
109%files
110%defattr(-,root,root)
111%{_bindir}/dumpsexp
112%{_bindir}/hmac256
113%{_bindir}/mpicalc
114%{_libdir}/*.so.*
115%{_mandir}/man1/hmac256.1.gz
116
117%files devel
118%defattr(-,root,root)
119%doc README* NEWS
120%{_bindir}/libgcrypt-config
121%{_includedir}/*
122%{_libdir}/*.so
123%{_libdir}/pkgconfig/*.pc
124%{_datadir}/aclocal/libgcrypt.m4
125%{_infodir}/*
126
127# compat32
128%if %{build_compat32}
129%files -n compat32-%{name}
130%defattr(-,root,root)
131%{_libdir}/*.so.*
132
133%files -n compat32-%{name}-devel
134%defattr(-,root,root)
135%{_libdir}/*.so
136%{_libdir}/pkgconfig/*.pc
137%endif
138
139
140%changelog
141* Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.1-1
142- updated to 1.9.1.
143
144* Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.6-1
145- updated to 1.8.6.
146
147* Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.5-1
148- updated to 1.8.5.
149
150* Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.4-1
151- updated to 1.8.4.
152
153* Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.2-1
154- updated to 1.8.2.
155
156* Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.7.6-1
157- update to 1.7.6
158- update URL tag
159- add Packager tag
160
161* Fri Apr 22 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.5-1
162- new upstream release.
163
164* Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.6.4-1
165- new upstream release
166
167* Wed Jan 15 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 1.6.0-1
168- new upstream release
169
170* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.5.3-2
171- rebuild with VineSeed environment
172
173* Sat Aug 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.3-1
174- new upstream release
175
176* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.6-1
177- new upstream release
178
179* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.4.3-3
180- added compat32 package for x86_64 arch support
181- added --disable-static %%configure option
182
183* Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
184- removed *.la
185
186* Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.3-1
187- new upstream release
188
189* Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-1vl5
190- new upstream release
191- used _dist_release macro
192
193* Sat Mar 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-0vl1
194- new upstream release
195
196* Sun Nov 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-0vl1
197- new upstream release
198- changed Group to System Environment/Libraries
199
200* Fri Dec 30 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.2-0vl1
201- new upstream release
202
203* Mon Mar 28 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2.1-0vl1
204- new upstream release
205- fix dependencies
206  - add BuildRequires: libgpg-error-devel >= 0.5
207  - add Requires: libgpg-error
208  - add Requires: libgpg-error-devel for devel package
209
210* Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
211- new upstream release
212
213* Sun Mar  7 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.12-0vl1
214- initial build
215
Note: See TracBrowser for help on using the repository browser.