1 Summary: A C library for CGI programming
2 Summary(pl.UTF-8): Biblioteka C do programowania CGI
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)
15 cgic is an ANSI C-language library for the creation of CGI-based
16 World Wide Web applications.
18 %description -l pl.UTF-8
19 cgic jest biblioteką języka ANSI-C służącą tworzeniu aplikacji WWW
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}
29 Header files for cgic library.
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki cgic.
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}
41 Static version of cgic library.
43 %description static -l pl.UTF-8
44 Statyczna wersja biblioteki cgic.
47 %setup -q -n %{name}%{version}
51 %{__make} CFLAGS="%{rpmcflags}" \
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
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
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
70 %defattr(644,root,root,755)
71 %doc license.txt support.txt
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/*.so
81 %defattr(644,root,root,755)