]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
- updated Source0 URL
[packages/libghttp.git] / libghttp.spec
1 Summary:        GNOME http client library
2 Summary(pl):    Biblioteka funkcji klienta http
3 Name:           libghttp
4 Version:        1.0.9
5 Release:        5
6 Epoch:          1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/libghttp/1.0/%{name}-%{version}.tar.gz
10 URL:            http://www.gnome.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Library for making HTTP 1.1 requests.
18
19 %description -l pl
20 Biblioteka funkcji umo¿liwiaj±cych realizacjê zapytañ HTTP 1.1.
21
22 %package devel
23 Summary:        GNOME http client development
24 Summary(pl):    Biblioteki i pliki nag³ówkowe libghttp
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}
27
28 %description devel
29 Libraries and includes files you can use for libghttp development.
30
31 %description devel -l pl
32 Biblioteki i pliki nag³ówkowe potrzebne do programowania z
33 wykorzystaniem libghttp.
34
35 %package static
36 Summary:        GNOME http client static library
37 Summary(pl):    Statyczna biblioteka libghttp
38 Group:          X11/Development/Libraries
39 Requires:       %{name}-devel = %{version}
40
41 %description static
42 GNOME http client static library.
43
44 %description static -l pl
45 Wersja statyczna biblioteki libghttp.
46
47 %prep
48 %setup -q
49
50 %build
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
60
61 %{__make} install DESTDIR=$RPM_BUILD_ROOT
62
63 install http_*.h $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/*.sh
79 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_libdir}/lib*.la
81 %{_includedir}/*
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/lib*.a
This page took 0.390041 seconds and 4 git commands to generate.