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