]> git.pld-linux.org Git - packages/libassuan.git/blame - libassuan.spec
- updated to 2.5.4
[packages/libassuan.git] / libassuan.spec
CommitLineData
8ae88d2b 1#
34b5b739 2# Conditional build:
8ae88d2b 3%bcond_without static_libs # don't build static library
34b5b739 4#
ece03a20 5Summary: Assuan - an IPC library for non-persistent servers
c8f5d633 6Summary(pl.UTF-8): Assuan - biblioteka IPC dla serwerów nie działających ciągle
ece03a20 7Name: libassuan
fc0c2690 8Version: 2.5.4
3ad9d8b5 9Release: 1
bd58e2d4 10Epoch: 1
dcab0bf2 11License: LGPL v2.1+
ece03a20 12Group: Libraries
7e2d47e0 13Source0: ftp://ftp.gnupg.org/gcrypt/libassuan/%{name}-%{version}.tar.bz2
fc0c2690 14# Source0-md5: d5cee3492f0e0c4fd537af798621dd5b
eeebbc9d
JB
15Patch0: %{name}-info.patch
16Patch1: %{name}-ac.patch
eed664e1 17Patch2: %{name}-am.patch
3446e152 18URL: http://www.gnupg.org/related_software/libassuan/
0c7a4533 19BuildRequires: autoconf >= 2.61
17bcb123
JB
20BuildRequires: automake >= 1:1.14
21BuildRequires: libgpg-error-devel >= 1.17
eeebbc9d 22BuildRequires: libtool >= 2:2.2.6
ece03a20 23BuildRequires: texinfo
17bcb123 24Requires: libgpg-error >= 1.17
ece03a20
JB
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
8dda6e3c 28This is the IPC library used by GnuPG 2, GPGME and a few other
caab150c 29packages. It used to be included with the latter packages but the
ece03a20 30authors decided to make your life not too easy and separated it out to
caab150c 31a stand alone library.
ece03a20 32
ec7225fb
JR
33%description -l pl.UTF-8
34To jest biblioteka komunikacji międzyprocesowej (IPC) używana przez
8dda6e3c 35GnuPG 2, GPGME oraz parę innych pakietów. Była dołączana do tych
ec7225fb
JR
36pakietów, ale autorzy zdecydowali, żeby już nie ułatwiać tak życia i
37wydzielili ją.
ece03a20
JB
38
39%package devel
40Summary: Header files for assuan library
c8f5d633 41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki assuan
ece03a20 42Group: Development/Libraries
e78028b0 43Conflicts: libassuan1-devel
2fe55b7f 44Requires: %{name} = %{epoch}:%{version}-%{release}
17bcb123 45Requires: libgpg-error-devel >= 1.17
ece03a20
JB
46
47%description devel
48Header files for assuan library.
49
ec7225fb
JR
50%description devel -l pl.UTF-8
51Pliki nagłówkowe biblioteki assuan.
ece03a20
JB
52
53%package static
54Summary: Static assuan library
c8f5d633 55Summary(pl.UTF-8): Statyczna biblioteka assuan
ece03a20 56Group: Development/Libraries
2fe55b7f 57Requires: %{name}-devel = %{epoch}:%{version}-%{release}
ece03a20
JB
58
59%description static
60Static assuan library.
61
ec7225fb 62%description static -l pl.UTF-8
ece03a20
JB
63Statyczna biblioteka assuan.
64
65%prep
66%setup -q
67%patch0 -p1
68%patch1 -p1
eed664e1 69%patch2 -p1
ece03a20
JB
70
71%build
72%{__libtoolize}
a8a61be4 73%{__aclocal} -I m4
ece03a20
JB
74%{__autoconf}
75%{__autoheader}
76%{__automake}
2aef9d18 77%configure \
eeebbc9d 78 %{?with_static_libs:--enable-static}
ece03a20
JB
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
dfb8334d
ER
87rm -f $RPM_BUILD_ROOT%{_infodir}/dir
88
ece03a20
JB
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
eeebbc9d 95%post devel -p /sbin/postshell
f155d83b 96-/usr/sbin/fix-info-dir -c %{_infodir}
ece03a20 97
eeebbc9d 98%postun devel -p /sbin/postshell
f155d83b 99-/usr/sbin/fix-info-dir -c %{_infodir}
ece03a20
JB
100
101%files
102%defattr(644,root,root,755)
103%doc AUTHORS ChangeLog NEWS README
7e2d47e0 104%attr(755,root,root) %{_libdir}/libassuan.so.*.*.*
8dda6e3c 105%attr(755,root,root) %ghost %{_libdir}/libassuan.so.0
ece03a20
JB
106
107%files devel
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_bindir}/libassuan-config
7e2d47e0 110%attr(755,root,root) %{_libdir}/libassuan.so
7e2d47e0 111%{_libdir}/libassuan.la
7e2d47e0
JB
112%{_includedir}/assuan.h
113%{_aclocaldir}/libassuan.m4
114%{_infodir}/assuan.info*
d951380f 115%{_pkgconfigdir}/libassuan.pc
ece03a20 116
4f55f039 117%if %{with static_libs}
ece03a20
JB
118%files static
119%defattr(644,root,root,755)
7e2d47e0 120%{_libdir}/libassuan.a
2aef9d18 121%endif
This page took 0.180812 seconds and 4 git commands to generate.