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

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