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

Revision 12331, 5.8 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

fuse-2.9.9-1

gmp-6.2.0-1

gnupg2-2.2.19-1

libassuan-2.5.3-2

libgcrypt-1.8.5-1

libgpg-error-1.37-1

libksba-1.3.5-2

npth-1.6-1

pinentry-1.1.0-2

strongswan-5.8.2-1

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