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