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

Revision 12489, 5.6 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

gnupg2-2.2.23-1

libgcrypt-1.8.6-1

libgpg-error-1.39-1

libksba-1.4.0-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2Summary:        common error codes for GnuPG related projects
3Summary(ja):    GnuPG 関連プロジェクトで共通のエラーコード
4Name:           libgpg-error
5Version:        1.39
6Release:        1%{?_dist_release}
7Group:          system
8Vendor:         Project Vine
9Distribution:   Vine Linux
10Packager:       iwaim
11
12License:        LGPL
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
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
23
24%package devel
25Summary:        Development files for the %{name} package
26Summary(ja):    %{name} パッケージの開発用ファイル
27Group:          programming
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
36
37%package -n compat32-%{name}
38Summary:        common error codes for GnuPG related projects
39Summary(ja):    GnuPG 関連プロジェクトで共通のエラーコード
40Group:          system
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
48
49%package -n compat32-%{name}-devel
50Summary:        Development files for the %{name} package
51Summary(ja):    %{name} パッケージの開発用ファイル
52Group:          programming
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
62
63%debug_package
64
65
66%prep
67%setup -q
68
69
70%build
71%configure --disable-static
72make %{?_smp_mflags}
73
74
75%install
76rm -rf $RPM_BUILD_ROOT
77%makeinstall
78
79# remove unneeded files
80rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
81rm -rf $RPM_BUILD_ROOT%{_datadir}/common-lisp
82rm -f $RPM_BUILD_ROOT%{_infodir}/dir
83
84%find_lang %{name}
85
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
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
102%post -n compat32-%{name} -p /sbin/ldconfig
103%postun -n compat32-%{name} -p /sbin/ldconfig
104
105
106%files -f %{name}.lang
107%defattr(-,root,root)
108%license COPYING COPYING.LIB
109%doc AUTHORS README INSTALL NEWS ChangeLog
110%{_bindir}/gpg-error
111%{_libdir}/libgpg-error.so.*
112%dir %{_datadir}/libgpg-error
113%{_datadir}/libgpg-error/errorref.txt
114
115%files devel
116%defattr(-,root,root)
117%{_bindir}/gpg-error-config
118%{_bindir}/gpgrt-config
119%{_bindir}/yat2m
120%{_libdir}/libgpg-error.so
121%{_libdir}/pkgconfig/gpg-error.pc
122%{_includedir}/gpg-error.h
123%{_includedir}/gpgrt.h
124%{_datadir}/aclocal/gpg-error.m4
125%{_datadir}/aclocal/gpgrt.m4
126%{_infodir}/gpgrt.info*
127%{_mandir}/man1/gpgrt-config.1*
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
141* Sat Sep 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.39-1
142- updated to 1.39.
143
144* Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.37-1
145- updated to 1.37.
146
147* Sun May 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
148- updated to 1.36.
149
150* Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.27-1
151- updated to 1.27.
152
153* Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.26-1
154- update to 1.26
155- add errorref.txt
156- update URL tag
157- add Packager tag
158
159* Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.22-1
160- new upstream release
161
162* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1
163- new upstream release
164
165* Mon Apr  4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1
166- new upstream release
167
168* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
169- new upstream release
170
171* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1
172- new upstream release
173- added --disable-static to %%configure
174- built with new toolchain
175
176* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
177- added compat32 package for x86_64 arch support
178
179* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
180- spec in utf-8
181- remove static lib
182
183* Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
184- new upstream release
185- used _dist_release macro
186
187* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
188- new upstream release
189- add Vendor/Distribution tag
190
191* Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
192- new upstream release
193
194* Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
195- initial build for Vine Linux
196
197* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
198- update to 1.0
199
200* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
201- rebuilt
202
203* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
204- adapt upstream specfile
Note: See TracBrowser for help on using the repository browser.