]> git.pld-linux.org Git - packages/nspr.git/blob - nspr.spec
- release 2
[packages/nspr.git] / nspr.spec
1 Summary:        Netscape Portable Runtime (NSPR)
2 Summary(pl):    Przeno¶ne biblioteki uruchomieniowe Netscape
3 Name:           nspr
4 Version:        4.1.2
5 Release:        2
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-moz0.9.6.patch.gz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Libraries that implement cross-platform runtime services from
21 Netscape.
22
23 %description -l pl
24 Biblioteki z wieloplatformow± implementacj± us³ug z Netscape.
25
26 %package devel
27 Summary:        NSPR library header files for development
28 Summary(pl):    Pliki nag³ówkowe bibliotek NSPR
29 Group:          Development/Libraries
30 Group(de):      Entwicklung/Libraries
31 Group(es):      Desarrollo/Bibliotecas
32 Group(fr):      Development/Librairies
33 Group(pl):      Programowanie/Biblioteki
34 Group(pt_BR):   Desenvolvimento/Bibliotecas
35 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
36 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Header files for the NSPR library from Netscape.
41
42 %description devel -l pl
43 Pliki nag³ówkowe bibliotek NSPR z Netscape.
44
45 %package static
46 Summary:        Static NSPR library
47 Summary(pl):    Statyczna biblioteka NSPR
48 Group:          Development/Libraries
49 Group(de):      Entwicklung/Libraries
50 Group(es):      Desarrollo/Bibliotecas
51 Group(fr):      Development/Librairies
52 Group(pl):      Programowanie/Biblioteki
53 Group(pt_BR):   Desenvolvimento/Bibliotecas
54 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
55 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 Static NSPR library.
60
61 %description static -l pl
62 Statyczna biblioteka NSPR.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 cd mozilla/nsprpub
70 autoconf
71 %configure \
72         --with-dist-prefix=$RPM_BUILD_ROOT%{_prefix} \
73         --with-mozilla \
74         --enable-optimize="%{rpmcflags}" \
75         --disable-debug \
76         --enable-strip \
77         --with-pthreads \
78         --enable-ipv6
79
80 %{__make}       
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 cd mozilla/nsprpub
85 %{__make} install \
86         NSDISTMODE=copy
87
88 install -d $RPM_BUILD_ROOT%{_aclocaldir}
89 install config/%{name}.m4 $RPM_BUILD_ROOT%{_aclocaldir}
90 install config/%{name}-config $RPM_BUILD_ROOT%{_bindir}
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_bindir}/nspr-config
105 %{_includedir}/nspr
106 %{_aclocaldir}/*.m4
107
108 %files static
109 %defattr(644,root,root,755)
110 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.059691 seconds and 3 git commands to generate.