]> git.pld-linux.org Git - packages/librsvg.git/blob - librsvg.spec
- removed unnecesary strip lines
[packages/librsvg.git] / librsvg.spec
1 # Note that this is NOT a relocatable package
2
3 Summary:        Raph's SVG library
4 Summary(pl):    Biblioteka Raph's SVG
5 Name:           librsvg
6 Version:        1.0.1
7 Release:        1
8 License:        LGPL
9 Vendor:         GNOME
10 Group:          Libraries
11 Group(de):      Libraries
12 Group(es):      Bibliotecas
13 Group(fr):      Librairies
14 Group(pl):      Biblioteki
15 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/librsvg/%{name}-%{version}.tar.bz2
16 URL:            http://nautilus.eazel.com/
17 BuildRequires:  glib-devel >= 1.2.9
18 BuildRequires:  gtk+-devel >= 1.2.9
19 BuildRequires:  libxml-devel >= 1.8.10
20 BuildRequires:  gdk-pixbuf-devel >= 0.10.0
21 BuildRequires:  popt-devel >= 1.5
22 BuildRequires:  freetype-devel >= 2.0.1
23 BuildRequires:  libpng-devel
24 #BuildRequires: arts-devel
25 BuildRequires:  gnome-libs-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define _prefix         /usr/X11R6
29 %define _sysconfdir     /etc
30
31 %description
32 Eazel Extension Library
33
34 %description -l pl
35 Rozsze¿ona bibioteka eazel
36
37 %package devel
38 Summary:        Libraries and include files for developing with librsvg.
39 Summary(pl):    Biblioteki i pliki nag³ówkowe do developing'u z u¿yciem librsvg.
40 Group:          Development/Libraries
41 Group(de):      Entwicklung/Libraries
42 Group(fr):      Development/Librairies
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %name = %{PACKAGE_VERSION}
45
46 %description devel
47 This package provides the necessary development libraries and include
48 files to allow you to develop with librsvg.
49
50 %description devel -l pl
51 Bibliteki potrzebne do programowania, zawieraj±ce biblioteki i pliki
52 nag³ówkowe, które pomagaj± tworzenie oprogramowania z wykorzystaniem 
53 librsvg.
54
55 %package static
56 Summary:        Static libraries and include files for developing with librsvg.
57 Summary(pl):    Statyczne biblioteki do developing'u z u¿yciem librsvg.
58 Group:          Development/Libraries
59 Group(de):      Entwicklung/Libraries
60 Group(fr):      Development/Librairies
61 Group(pl):      Programowanie/Biblioteki
62 Requires:       %name = %{PACKAGE_VERSION}
63
64 %description static
65 This package provides the necessary development static libraries to allow you 
66 to develop with librsvg.
67
68 %description static -l pl
69 Bibliteki statyczne potrzebne do programowania, zawieraj±ce biblioteki, które 
70 wspomagaj± tworzenie oprogramowania z wykorzystaniem librsvg.
71
72 %prep
73 %setup -q
74
75 %build
76 CFLAGS="$RPM_OPT_FLAGS" 
77 export LDFLAGS
78
79 %configure2_13 \
80         --prefix=%{_prefix} \
81         --sysconfdir=%{_sysconfdir}
82 %ifarch alpha
83         --host=alpha-pld-linux
84 %endif
85
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} DESTDIR=$RPM_BUILD_ROOT install
91
92 gzip -9nf ChangeLog AUTHORS NEWS
93
94 %post
95 /sbin/ldconfig
96
97 %postun -p /sbin/ldconfig
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/*.so*
105 %doc *.gz
106
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/librsvg-config
111 %attr(755,root,root) %{_libdir}/*.la
112 %{_libdir}/*.sh
113 %dir %{_includedir}/librsvg/*.h
114
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/*.a
This page took 0.090831 seconds and 3 git commands to generate.