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

Revision 521, 4.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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.6
6Release:        3%{?_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
63make
64
65%install
66rm -rf $RPM_BUILD_ROOT
67%makeinstall
68
69# remove unneeded files
70rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,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* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.6-3
112- added compat32 package for x86_64 arch support
113
114* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6-2
115- spec in utf-8
116- remove static lib
117
118* Tue Mar 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-1vl5
119- new upstream release
120- used _dist_release macro
121
122* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
123- new upstream release
124- add Vendor/Distribution tag
125
126* Sun Apr 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
127- new upstream release
128
129* Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-0vl1
130- initial build for Vine Linux
131
132* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
133- update to 1.0
134
135* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
136- rebuilt
137
138* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
139- adapt upstream specfile
Note: See TracBrowser for help on using the repository browser.