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