1 | # Note that this is NOT a relocatable package |
---|
2 | %define ver 1.0.3 |
---|
3 | %define rel 0vl1 |
---|
4 | |
---|
5 | Name: librsvg |
---|
6 | Version: %{ver} |
---|
7 | Release: %{rel} |
---|
8 | License: LGPL |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://nautilus.eazel.com/ |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | BuildPreReq: libpng-devel |
---|
14 | BuildPreReq: glib-devel |
---|
15 | BuildPreReq: gtk+-devel |
---|
16 | BuildPreReq: gdk-pixbuf-devel |
---|
17 | BuildPreReq: freetype2-devel |
---|
18 | BuildPreReq: libxml-devel |
---|
19 | BuildPreReq: gnome-libs-devel |
---|
20 | BuildPreReq: automake14 |
---|
21 | Requires: glib >= 1.2.9 |
---|
22 | Requires: gtk+ >= 1.2.9 |
---|
23 | Requires: libxml >= 1.8.10 |
---|
24 | Requires: gdk-pixbuf >= 0.10.0 |
---|
25 | Requires: popt >= 1.5 |
---|
26 | Requires: freetype2 >= 2.0.1 |
---|
27 | Requires: libpng |
---|
28 | |
---|
29 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{ver}.tar.bz2 |
---|
30 | |
---|
31 | Patch0: librsvg-1.0.0-datapath.patch |
---|
32 | |
---|
33 | Summary: Raph's SVG library |
---|
34 | %description |
---|
35 | Eazel Extension Library |
---|
36 | |
---|
37 | %package devel |
---|
38 | Summary: Libraries and include files for developing with librsvg. |
---|
39 | Group: Development/Libraries |
---|
40 | Requires: %{name} = %{PACKAGE_VERSION} |
---|
41 | |
---|
42 | %description devel |
---|
43 | This package provides the necessary development libraries and include |
---|
44 | files to allow you to develop with librsvg. |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q |
---|
48 | |
---|
49 | #%patch0 -p1 -b .datapath |
---|
50 | |
---|
51 | %build |
---|
52 | automake-1.4 |
---|
53 | |
---|
54 | %configure |
---|
55 | |
---|
56 | make |
---|
57 | |
---|
58 | %install |
---|
59 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | %makeinstall |
---|
62 | |
---|
63 | %find_lang %{name} |
---|
64 | |
---|
65 | %clean |
---|
66 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | %files -f %{name}.lang |
---|
73 | %defattr (-, root, root) |
---|
74 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README |
---|
75 | %{_libdir}/*.so.* |
---|
76 | |
---|
77 | %files devel |
---|
78 | %defattr (-, root, root) |
---|
79 | %{_bindir}/librsvg-config |
---|
80 | %{_libdir}/*.so |
---|
81 | %{_libdir}/*.la |
---|
82 | %{_libdir}/*.sh |
---|
83 | %{_libdir}/pkgconfig/*.pc |
---|
84 | %{_includedir}/* |
---|
85 | %{_datadir}/aclocal/* |
---|
86 | |
---|
87 | %changelog |
---|
88 | * Mon Jul 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl1 |
---|
89 | - updated to 1.0.3 |
---|
90 | - rebuild with new toolchains and add BuildRequires: automake14 |
---|
91 | - s/Copyright/License/ |
---|
92 | - fix URL |
---|
93 | |
---|
94 | * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.2-0vl1 |
---|
95 | - New upstream release. |
---|
96 | |
---|
97 | * Sat Jul 28 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
98 | - 1.0.1-0vl1 |
---|
99 | - updated to new upstream release |
---|
100 | |
---|
101 | * Wed May 9 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.0-0vl1 |
---|
102 | - Build for Vine |
---|
103 | |
---|
104 | * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com> |
---|
105 | - removed obsoletes from sub packages and added mozilla and trilobite |
---|
106 | subpackages |
---|
107 | |
---|
108 | * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com> |
---|
109 | - created this thing |
---|
110 | |
---|