]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
added %{_target} macro
[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.2
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/sources/%{name}-%{version}.tar.gz
10 URL:            http://www.gnome.org/
11 BuildRoot:      /tmp/%{name}-%{version}-root
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³owkowe 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 devel -l pl
30 Biblioteki i pliki nag³owkowe 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 static -l pl
44 Wersja statyczna biblioteki libghttp
45
46 %prep
47 %setup -q
48
49 %build
50 CFLAGS="$RPM_OPT_FLAGS" LDCONFIG="-s" \
51 ./configure %{_target} \
52         --prefix=/usr/X11R6
53 make
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 make install DESTDIR=$RPM_BUILD_ROOT
59
60 strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*so.*.*
61
62 gzip -9nf AUTHORS ChangeLog NEWS README
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
77
78 %attr(755, root, root) /usr/X11R6/lib/lib*.so
79 /usr/X11R6/include/*
80
81 %files static
82 %defattr(644,root,root,755)
83 /usr/X11R6/lib/lib*.a
84
85 %changelog
86 * Sun Mar 14 1999 Micha³ Kuratczyk <kura@pld.org.pl>
87   [0.99-2]
88 - added Group(pl)
89 - added gzipping documentation
90
91 * Mon Jan 04 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
92   [0.99-1]
93 - added LDFLAGS="-s" to ./configure enviroment,
94 - fixed permission on /usr/X11R6/lib/lib* files.
95
96 * Fri Oct  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
97   [0.30-1]
98 - added -q %setup parameter,
99 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
100 - added using %%{name} and %%{version} in Source,
101 - changed Copyright field to GPL,
102 - removed Packager field (this must be placed in private ~/.rpmrc),
103 - removed COPYING from %doc,
104 - all %doc moved to devel,
105 - added full %attr description in %files,
106 - added stripping shared libraries.
This page took 0.08035 seconds and 4 git commands to generate.