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

Revision 12522, 5.6 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

RevLine 
[521]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2Summary:        common error codes for GnuPG related projects
3Summary(ja):    GnuPG 関連プロジェクトで共通のエラーコード
4Name:           libgpg-error
[12522]5Version:        1.41
[902]6Release:        1%{?_dist_release}
[12489]7Group:          system
8Vendor:         Project Vine
9Distribution:   Vine Linux
10Packager:       iwaim
11
[521]12License:        LGPL
[12331]13URL:            https://www.gnupg.org/related_software/libgpg-error/index.html
14Source0:        https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2
15Source1:        https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2.sig
[521]16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18%description
19This is a library that defines common error values for all GnuPG
20components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
21pinentry, SmartCard Daemon and possibly more in the future.
22
[12489]23
[521]24%package devel
25Summary:        Development files for the %{name} package
26Summary(ja):    %{name} パッケージの開発用ファイル
[12489]27Group:          programming
[521]28Requires:       %{name} = %{version}-%{release}
29
30%description devel
31This is a library that defines common error values for all GnuPG
32components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
33pinentry, SmartCard Daemon and possibly more in the future. This package
34contains files necessary to develop applications using libgpg-error.
35
[12489]36
[521]37%package -n compat32-%{name}
38Summary:        common error codes for GnuPG related projects
39Summary(ja):    GnuPG 関連プロジェクトで共通のエラーコード
[12489]40Group:          system
[521]41Requires:       %{name} = %{version}-%{release}
42
43%description -n compat32-%{name}
44This is a library that defines common error values for all GnuPG
45components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
46pinentry, SmartCard Daemon and possibly more in the future.
47
[12489]48
[521]49%package -n compat32-%{name}-devel
50Summary:        Development files for the %{name} package
51Summary(ja):    %{name} パッケージの開発用ファイル
[12489]52Group:          programming
[521]53Requires:       compat32-%{name} = %{version}-%{release}
54Requires:       %{name}-devel = %{version}-%{release}
55
56%description -n compat32-%{name}-devel
57This is a library that defines common error values for all GnuPG
58components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
59pinentry, SmartCard Daemon and possibly more in the future. This package
60contains files necessary to develop applications using libgpg-error.
61
[12489]62
63%debug_package
64
65
[521]66%prep
67%setup -q
68
[12489]69
[521]70%build
[902]71%configure --disable-static
72make %{?_smp_mflags}
[521]73
[12489]74
[521]75%install
76rm -rf $RPM_BUILD_ROOT
77%makeinstall
78
79# remove unneeded files
[902]80rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
[521]81rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp
[10304]82rm -f $RPM_BUILD_ROOT%{_infodir}/dir
[521]83
84%find_lang %{name}
85
[12489]86
[521]87%clean
88rm -rf $RPM_BUILD_ROOT
89
[10304]90
[521]91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
[10304]94%post devel
95/sbin/install-info %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || :
96
97%preun devel
98if [ $1 -eq 0 ]; then
99  /sbin/install-info --delete %{_infodir}/gpgrt.info %{_infodir}/dir &>/dev/null || :
100fi
101
[521]102%post -n compat32-%{name} -p /sbin/ldconfig
103%postun -n compat32-%{name} -p /sbin/ldconfig
104
[12489]105
[521]106%files -f %{name}.lang
107%defattr(-,root,root)
[12062]108%license COPYING COPYING.LIB
109%doc AUTHORS README INSTALL NEWS ChangeLog
[521]110%{_bindir}/gpg-error
111%{_libdir}/libgpg-error.so.*
[11043]112%dir %{_datadir}/libgpg-error
113%{_datadir}/libgpg-error/errorref.txt
[521]114
115%files devel
116%defattr(-,root,root)
117%{_bindir}/gpg-error-config
[12062]118%{_bindir}/gpgrt-config
119%{_bindir}/yat2m
[521]120%{_libdir}/libgpg-error.so
[12062]121%{_libdir}/pkgconfig/gpg-error.pc
[521]122%{_includedir}/gpg-error.h
[12062]123%{_includedir}/gpgrt.h
[521]124%{_datadir}/aclocal/gpg-error.m4
[12062]125%{_datadir}/aclocal/gpgrt.m4
[10304]126%{_infodir}/gpgrt.info*
[12062]127%{_mandir}/man1/gpgrt-config.1*
[521]128
129# compat32
130%if %{build_compat32}
131%files -n compat32-%{name}
132%defattr(-,root,root)
133%{_libdir}/libgpg-error.so.*
134
135%files -n compat32-%{name}-devel
136%defattr(-,root,root)
137%{_libdir}/libgpg-error.so
138%endif
139
140%changelog
[12522]141* Tue Feb 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.41-1
142- updated to 1.41.
143
[12489]144* Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.39-1
145- updated to 1.39.
146
[12331]147* Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.37-1
148- updated to 1.37.
149
[12062]150* Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
151- updated to 1.36.
152
[11559]153* Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
154- updated to 1.27.
155
[11043]156* Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
157- update to 1.26
158- add errorref.txt
159- update URL tag
160- add Packager tag
161
[10304]162* Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22-1
163- new upstream release
164
[8084]165* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1
166- new upstream release
167
[3299]168* Mon Apr  4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1
169- new upstream release
170
[2041]171* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
172- new upstream release
173
[902]174* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1
175- new upstream release
176- added --disable-static to %%configure
177- built with new toolchain
178
[521]179* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
180- added compat32 package for x86_64 arch support
181
182* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
183- spec in utf-8
184- remove static lib
185
186* Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
187- new upstream release
188- used _dist_release macro
189
190* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
191- new upstream release
192- add Vendor/Distribution tag
193
194* Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
195- new upstream release
196
197* Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
198- initial build for Vine Linux
199
200* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
201- update to 1.0
202
203* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
204- rebuilt
205
206* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
207- adapt upstream specfile
Note: See TracBrowser for help on using the repository browser.