]> git.pld-linux.org Git - packages/cgilibc.git/blame - cgilibc.spec
- release 3
[packages/cgilibc.git] / cgilibc.spec
CommitLineData
40ae56e0
JB
1# the true package name is "cgilib", but it was already taken by other library
2%define realname cgilib
3Summary: Common Gateway Interface library
1ab3f46e 4Summary(pl.UTF-8): Biblioteka CGI (Common Gateway Interface)
40ae56e0
JB
5Name: cgilibc
6Version: 0.5
08894b10 7Release: 3
40ae56e0
JB
8License: GPL
9Group: Libraries
10Source0: ftp://ibiblio.org/pub/Linux/libs/%{realname}-%{version}.tar.gz
966d7e0a 11# Source0-md5: 5187ba11b2ec165b6c5b6629087733b0
40ae56e0
JB
12Patch0: %{name}-shared.patch
13Patch1: %{name}-fix.patch
14BuildRequires: libtool
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Common Gateway Interface library written in pure C by Martin Schultze.
19Original project name was "cgilib", but we must have renamed it
20because of name conflict with existing cgilib package (completely
21different CGI library in C++ from http://cgilib.sourceforge.net/).
22
a930bd04 23%description -l pl.UTF-8
40ae56e0
JB
24Biblioteka CGI (Common Gateway Interface) napisana w czystym C przez
25Martina Schultze. Oryginalna nazwa projektu to "cgilib", ale
a930bd04
JR
26musieliśmy ją zmienić z powodu konfliktu z już istniejącym pakietem
27cgilib (całkowicie inną biblioteką CGI w C++ z
40ae56e0
JB
28http://cgilib.sourceforge.net/).
29
30%package devel
31Summary: cgilib header files
1ab3f46e 32Summary(pl.UTF-8): Pliki nagłówkowe cgilib
40ae56e0 33Group: Development/Libraries
14e983b1 34Requires: %{name} = %{version}-%{release}
40ae56e0
JB
35
36%description devel
37cgilib header files.
38
a930bd04
JR
39%description devel -l pl.UTF-8
40Pliki nagłówkowe cgilib.
40ae56e0
JB
41
42%package static
43Summary: Static version of cgilib
1ab3f46e 44Summary(pl.UTF-8): Statyczna wersja cgilib
40ae56e0 45Group: Development/Libraries
14e983b1 46Requires: %{name}-devel = %{version}-%{release}
40ae56e0
JB
47
48%description static
49Static version of cgilib.
50
a930bd04 51%description static -l pl.UTF-8
40ae56e0
JB
52Statyczna wersja cgilib.
53
54%prep
55%setup -q -n %{realname}-%{version}
56%patch0 -p1
57%patch1 -p1
58
59%build
60%{__make} \
61 CC="%{__cc}" \
14e983b1
JB
62 CFLAGS="%{rpmcflags} -Wall -I." \
63 LIBDIR=%{_libdir}
40ae56e0
JB
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
14e983b1
JB
69 DESTDIR=$RPM_BUILD_ROOT \
70 LIBDIR=%{_libdir}
40ae56e0
JB
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
0d56d605
JB
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
40ae56e0
JB
78%files
79%defattr(644,root,root,755)
80%doc CHANGES CREDITS cookies.txt readme
81%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
82
83%files devel
84%defattr(644,root,root,755)
85%attr(755,root,root) %{_libdir}/lib*.so
86%{_libdir}/lib*.la
87%{_includedir}/cgilibc
88%{_mandir}/man[35]/*
89
90%files static
91%defattr(644,root,root,755)
92%{_libdir}/lib*.a
This page took 0.069501 seconds and 4 git commands to generate.