source: projects/specs/branches/6/lib/libg/libgpg-error/libgpg-error-vl.spec @ 10661

Revision 10661, 4.9 KB checked in by tomop, 8 years ago (diff)

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