]> git.pld-linux.org Git - packages/libgringotts.git/blob - libgringotts.spec
- manual.htm packaged
[packages/libgringotts.git] / libgringotts.spec
1 Summary:        Small library to encapsulate data in an encrypted structure
2 Summary(pl.UTF-8):      Mała biblioteka do hermetyzacji danych w zaszyfrowanej strukturze
3 Name:           libgringotts
4 Version:        1.2.1
5 Release:        5
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://prdownload.berlios.de/gringotts/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ccea1078679d79c924842fad40de4102
10 URL:            http://gringotts.berlios.de/
11 BuildRequires:  automake
12 BuildRequires:  bzip2-devel
13 BuildRequires:  libmcrypt-devel
14 BuildRequires:  mhash-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 libGringotts is a thread-safe C library that allows the programmer to
20 save data in a particular file format. The data are compressed and
21 encrypted with a strong encryption algorithm, and saved to the disk in
22 a secure way. The library gives control over every algorithm involved
23 in the process, and provides additional security-related utility
24 functions.
25
26 %description -l pl.UTF-8
27 libGringotts jest biblioteką C nadającą się do użytku w programach
28 wielowątkowych, która pozwala na zapisywanie danych w konkretnych
29 formatach plików. Dane są kompresowane, szyfrowane silnym algorytmem
30 i zapisywane na dysku w bezpieczny sposób. Biblioteka ta daje kontrolę
31 nad każdym użytym algorytmem i udostępnia dodatkowe, bezpieczne
32 funkcje użytkowe.
33
34 %package devel
35 Summary:        Headers for libgringotts
36 Summary(pl.UTF-8):      Pliki nagłówkowe libgringotts
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 Files needed to develop applications with libGringotts.
42
43 %description devel -l pl.UTF-8
44 Pliki potrzebne do tworzenia aplikacji używających libGringotts.
45
46 %package static
47 Summary:        Static version of libgringotts
48 Summary(pl.UTF-8):      Statyczna wersja libgringotts
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51 Requires:       bzip2-devel
52 Requires:       libmcrypt-devel
53 Requires:       mhash-devel
54 Requires:       zlib-devel
55
56 %description static
57 Static version of libgringotts.
58
59 %description static -l pl.UTF-8
60 Statyczna wersja libgringotts.
61
62 %prep
63 %setup -q
64
65 %build
66 cp -f /usr/share/automake/config.* .
67 %configure
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 ln -sf libgringotts.so.2.0.7 \
78         $RPM_BUILD_ROOT%{_libdir}/libgringotts.so
79
80 # docdir was not empty
81 rm -rf $RPM_BUILD_ROOT%{_docdir}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS README TODO docs/manual.htm
92 %attr(755,root,root) %{_libdir}/libgringotts.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libgringotts.so.2
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
98 %{_libdir}/lib*.la
99 %{_includedir}/*
100 %{_pkgconfigdir}/*
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/lib*.a
This page took 0.093872 seconds and 3 git commands to generate.