]> git.pld-linux.org Git - packages/cgic.git/blob - cgic.spec
- initial release
[packages/cgic.git] / cgic.spec
1 Summary:        A C library for CGI programming
2 Summary(pl):    Biblioteka C do programowania CGI
3 Name:           cgic
4 Version:        204
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://www.boutell.com/%{name}/%{name}%{version}.tar.gz
9 # Source0-md5:  4e4ed95f3f49ada0fb92a5e0d20283b3
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
19 cgic jest bibliotek± jêzyka ANSI-C s³u¿±c± tworzeniu aplikacji WWW opartych
20 na CGI.
21
22 %package devel
23 Summary:        A C library for CGI programming - header files
24 Summary(pl):    Biblioteka C do programowania CGI - pliki nag³ówkowe
25 Group:          Development/Libraries
26 Requires:       %{name}
27
28 %description devel
29 cgic is an ANSI C-language library for the creation of CGI-based
30 World Wide Web applications.
31
32 %description devel -l pl
33 cgic jest bibliotek± jêzyka ANSI-C s³u¿±c± tworzeniu aplikacji WWW opartych
34 na CGI.
35
36 %package static
37 Summary:        A C library for CGI programming - header files
38 Summary(pl):    Biblioteka C do programowania CGI - pliki nag³ówkowe
39 Group:          Development/Libraries
40 Requires:       %{name}-static
41
42 %description static
43 cgic is an ANSI C-language library for the creation of CGI-based
44 World Wide Web applications.
45
46 %description static -l pl
47 cgic jest bibliotek± jêzyka ANSI-C s³u¿±c± tworzeniu aplikacji WWW opartych
48 na CGI.
49
50 %prep
51 %setup -q -n %{name}%{version}
52 %patch0 -p1
53
54 %build
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
60
61 ln -sf libcgic.so.* libcgic.so
62 install libcgic.* $RPM_BUILD_ROOT%{_libdir}
63 install *.h $RPM_BUILD_ROOT%{_includedir}
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 license.txt support.txt
74 %{_libdir}/*.so.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc *.html
79 %attr(755,root,root) %{_libdir}/*.so
80 %{_includedir}/*.h
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/*.a
This page took 0.056179 seconds and 3 git commands to generate.