]> git.pld-linux.org Git - packages/libksba.git/blob - libksba.spec
- updated to 0.4.7, added info patch
[packages/libksba.git] / libksba.spec
1 Summary:        KSBA library
2 Summary(pl):    Biblioteka KSBA
3 Name:           libksba
4 Version:        0.4.7
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-info.patch
10 BuildRequires:  texinfo
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 KSBA library.
15
16 %description -l pl
17 Biblioteka KSBA.
18
19 %package devel
20 Summary:        Header files to develop KSBA applications
21 Summary(pl):    Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych KSBA
22 Group:          Development/Libraries
23 Requires:       %{name} = %{version}
24
25 %description devel
26 Header files to develop KSBA applications.
27
28 %description devel -l pl
29 Pliki nag³ówkowe do tworzenia programów u¿ywaj±cych KSBA.
30
31 %package static
32 Summary:        Static KSBA library
33 Summary(pl):    Statyczna biblioteka KSBA
34 Group:          Development/Libraries
35 Requires:       %{name}-devel = %{version}
36
37 %description static
38 Static KSBA library.
39
40 %description static -l pl
41 Statyczna biblioteka KSBA.
42
43 %prep
44 %setup -q
45 %patch -p1
46
47 %build
48 %configure \
49         --enable-shared
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         m4datadir=%{_aclocaldir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %post devel
67 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
68
69 %postun devel
70 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_bindir}/*
79 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_libdir}/lib*.la
81 %{_infodir}/*info*
82 %{_includedir}/*.h
83 %{_aclocaldir}/*
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/lib*.a
This page took 0.080206 seconds and 4 git commands to generate.