# Note that this is NOT a relocatable package
Summary: Raph's SVG library
-Summary(pl): biblioteka Raph's SVG
+Summary(pl): Biblioteka Raph's SVG
Name: librsvg
Version: 1.0.1
Release: 1
BuildRequires: libpng-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr
+%define _prefix /usr/X11R6
%define _sysconfdir /etc
%description
%package devel
Summary: Libraries and include files for developing with librsvg.
+Summary(pl): Biblioteki i pliki nag³ówkowe do developing'u z u¿yciem librsvg.
Group: Development/Libraries
Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
nag³ówkowe, które pomagaj± tworzenie oprogramowania z wykorzystaniem
librsvg.
+%package static
+Summary: Static libraries and include files for developing with librsvg.
+Summary(pl): Statyczne biblioteki do developing'u z u¿yciem librsvg.
+Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(fr): Development/Librairies
+Group(pl): Programowanie/Biblioteki
+Requires: %name = %{PACKAGE_VERSION}
+
+%description static
+This package provides the necessary development static libraries to allow you
+to develop with librsvg.
+
+%description static -l pl
+Bibliteki statyczne potrzebne do programowania, zawieraj±ce biblioteki, które
+wspomagaj± tworzenie oprogramowania z wykorzystaniem librsvg.
+
%prep
%setup -q
%build
-rm missing
CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS
-%ifarch alpha
- MYARCH_FLAGS="--host=alpha-redhat-linux"
-%endif
-
-LC_ALL=""
-LINGUAS=""
-LANG=""
-export LC_ALL LINGUAS LANG
-%configure2_13 $MYARCH_FLAGS \
+%configure2_13 \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir}
+%ifarch alpha
+ --host=alpha-pld-linux
+%endif
-%{__make} -k
-%{__make} check
%install
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/librsvg-config
%attr(755,root,root) %{_libdir}/*.la
%{_libdir}/*.sh
-%{_libdir}/*.a
%{_includedir}/librsvg/*.h
+
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a