]> git.pld-linux.org Git - packages/cgic.git/blob - cgic.spec
- tabs in preamble
[packages/cgic.git] / cgic.spec
1 Summary:        A C library for CGI programming
2 Summary(pl.UTF-8):      Biblioteka C do programowania CGI
3 Name:           cgic
4 Version:        205
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.boutell.com/%{name}/%{name}%{version}.tar.gz
9 # Source0-md5:  b7981300eb14e772f45c0c7add54d629
10 Patch0:         %{name}-shared.patch
11 URL:            http://www.boutell.com/cgic/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 cgic is an ANSI C-language library for the creation of CGI-based
16 World Wide Web applications.
17
18 %description -l pl.UTF-8
19 cgic jest biblioteką języka ANSI-C służącą tworzeniu aplikacji WWW
20 opartych na CGI.
21
22 %package devel
23 Summary:        A C library for CGI programming - header files
24 Summary(pl.UTF-8):      Biblioteka C do programowania CGI - pliki nagłówkowe
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for cgic library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki cgic.
33
34 %package static
35 Summary:        A C library for CGI programming - static version
36 Summary(pl.UTF-8):      Biblioteka C do programowania CGI - wersja statyczna
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Static version of cgic library.
42
43 %description static -l pl.UTF-8
44 Statyczna wersja biblioteki cgic.
45
46 %prep
47 %setup -q -n %{name}%{version}
48 %patch0 -p1
49
50 %build
51 %{__make} CFLAGS="%{rpmcflags}" \
52         CC="%{__cc}"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
57
58 install libcgic.* $RPM_BUILD_ROOT%{_libdir}
59 install *.h $RPM_BUILD_ROOT%{_includedir}
60 cd $RPM_BUILD_ROOT%{_libdir}
61 ln -sf libcgic.so.* libcgic.so
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc license.txt support.txt
72 %{_libdir}/*.so.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %doc *.html
77 %attr(755,root,root) %{_libdir}/*.so
78 %{_includedir}/*.h
79
80 %files static
81 %defattr(644,root,root,755)
82 %{_libdir}/*.a
This page took 0.072775 seconds and 3 git commands to generate.