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

Revision 8084, 4.5 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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.12
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
72
73%find_lang %{name}
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79
80%postun -p /sbin/ldconfig
81
82%post -n compat32-%{name} -p /sbin/ldconfig
83
84%postun -n compat32-%{name} -p /sbin/ldconfig
85
86%files -f %{name}.lang
87%defattr(-,root,root)
88%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog
89%{_bindir}/gpg-error
90%{_libdir}/libgpg-error.so.*
91
92%files devel
93%defattr(-,root,root)
94%{_bindir}/gpg-error-config
95%{_libdir}/libgpg-error.so
96%{_includedir}/gpg-error.h
97%{_datadir}/aclocal/gpg-error.m4
98
99# compat32
100%if %{build_compat32}
101%files -n compat32-%{name}
102%defattr(-,root,root)
103%{_libdir}/libgpg-error.so.*
104
105%files -n compat32-%{name}-devel
106%defattr(-,root,root)
107%{_libdir}/libgpg-error.so
108%endif
109
110%changelog
111* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12-1
112- new upstream release
113
114* Mon Apr  4 2011 IWAI, Masaharu <iwai@alib.jp> 1.10-1
115- new upstream release
116
117* Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
118- new upstream release
119
120* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-1
121- new upstream release
122- added --disable-static to %%configure
123- built with new toolchain
124
125* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
126- added compat32 package for x86_64 arch support
127
128* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
129- spec in utf-8
130- remove static lib
131
132* Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
133- new upstream release
134- used _dist_release macro
135
136* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
137- new upstream release
138- add Vendor/Distribution tag
139
140* Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
141- new upstream release
142
143* Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
144- initial build for Vine Linux
145
146* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
147- update to 1.0
148
149* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
150- rebuilt
151
152* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
153- adapt upstream specfile
Note: See TracBrowser for help on using the repository browser.