1 | %define __libtoolize : |
---|
2 | %define __spec_install_post /usr/lib/rpm/brp-compress |
---|
3 | Name: librsvg2 |
---|
4 | Summary: An SVG library based on libart. |
---|
5 | Version: 2.0.1 |
---|
6 | Release: 1 |
---|
7 | License: LGPL |
---|
8 | Group: System Environment/Libraries |
---|
9 | Source: librsvg-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: pkgconfig >= 0.8 |
---|
12 | Requires: gtk2 >= 1.3.7 |
---|
13 | Requires: glib2 >= 2.0.0 |
---|
14 | Requires: libart_lgpl >= 2.3.10 |
---|
15 | Requires: libxml2 >= 2.4.7 |
---|
16 | Requires: pango >= 1.0.0 |
---|
17 | BuildRequires: gtk2-devel >= 1.3.7 |
---|
18 | BuildRequires: glib2-devel >= 2.0.0 |
---|
19 | BuildRequires: libart_lgpl-devel >= 2.3.10 |
---|
20 | BuildRequires: libxml2-devel >= 2.4.7 |
---|
21 | BuildRequires: pango-devel >= 1.0.0 |
---|
22 | |
---|
23 | |
---|
24 | %description |
---|
25 | An SVG library based on libart. |
---|
26 | |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Libraries and include files for developing with librsvg. |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version} |
---|
32 | Requires: pkgconfig >= 0.8 |
---|
33 | Requires: gtk2 >= 1.3.7 |
---|
34 | Requires: gtk2-devel >= 1.3.7 |
---|
35 | Requires: glib2 >= 2.0.0 |
---|
36 | Requires: glib2-devel >= 2.0.0 |
---|
37 | Requires: libart_lgpl >= 2.3.10 |
---|
38 | Requires: libart_lgpl-devel >= 2.3.10 |
---|
39 | Requires: libxml2 >= 2.4.7 |
---|
40 | Requires: libxml2-devel >= 2.4.7 |
---|
41 | Requires: pango >= 1.0.0 |
---|
42 | Requires: pango-devel >= 1.0.0 |
---|
43 | |
---|
44 | |
---|
45 | %description devel |
---|
46 | This package provides the necessary development libraries and include |
---|
47 | files to allow you to develop with librsvg. |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q -n librsvg-%{version} |
---|
51 | |
---|
52 | %build |
---|
53 | %configure |
---|
54 | make |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | %makeinstall |
---|
59 | |
---|
60 | %clean |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | %post -p /sbin/ldconfig |
---|
64 | |
---|
65 | %postun -p /sbin/ldconfig |
---|
66 | |
---|
67 | %files |
---|
68 | |
---|
69 | %defattr(-, root, root) |
---|
70 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README |
---|
71 | %{_libdir}/*.so.* |
---|
72 | |
---|
73 | %files devel |
---|
74 | %defattr(-, root, root) |
---|
75 | %{_libdir}/*.so |
---|
76 | %{_libdir}/*.la |
---|
77 | %{_libdir}/*.a |
---|
78 | %{_includedir}/librsvg-2/librsvg |
---|
79 | %{_libdir}/pkgconfig/librsvg-2.0.pc |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com> |
---|
83 | - Deps |
---|
84 | - Formatting |
---|
85 | - converted to .spec.in |
---|
86 | |
---|
87 | * Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com> |
---|
88 | - Imported into gnome 2.0 alpha, set Requirements accordingly |
---|
89 | - Bumped version to 1.1.1 |
---|
90 | - Minor cleanups |
---|
91 | |
---|
92 | * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com> |
---|
93 | - new CVS snap 1.1.0.91 |
---|
94 | - remove automake/autoconf calls |
---|
95 | |
---|
96 | * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com> |
---|
97 | - convert to librsvg2 RPM |
---|
98 | |
---|
99 | * Tue Oct 23 2001 Havoc Pennington <hp@redhat.com> |
---|
100 | - 1.0.2 |
---|
101 | |
---|
102 | * Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com> |
---|
103 | - Add a patch that moves the includes to librsvg-1/librsvg |
---|
104 | - in preparation for a later librsvg 2 library. |
---|
105 | |
---|
106 | * Tue Jul 24 2001 Havoc Pennington <hp@redhat.com> |
---|
107 | - build requires gnome-libs-devel, #49509 |
---|
108 | |
---|
109 | * Thu Jul 19 2001 Havoc Pennington <hp@redhat.com> |
---|
110 | - own /usr/include/librsvg |
---|
111 | |
---|
112 | * Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4 |
---|
113 | - fixed the linefeed problem in multibyte environment. (Bug#49310) |
---|
114 | |
---|
115 | * Mon Jul 09 2001 Havoc Pennington <hp@redhat.com> |
---|
116 | - put .la file back in package |
---|
117 | |
---|
118 | * Fri Jul 6 2001 Trond Eivind Glomsrød <teg@redhat.com> |
---|
119 | - Put changelog at the end |
---|
120 | - Move .so files to devel subpackage |
---|
121 | - Don't mess with ld.so.conf |
---|
122 | - Don't use %%{prefix}, this isn't a relocatable package |
---|
123 | - Don't define a bad docdir |
---|
124 | - Add BuildRequires |
---|
125 | - Use %%{_tmppath} |
---|
126 | - Don't define name, version etc. on top of the file (why do so many do that?) |
---|
127 | - s/Copyright/License/ |
---|
128 | |
---|
129 | * Wed May 9 2001 Jonathan Blandford <jrb@redhat.com> |
---|
130 | - Put into Red Hat Build system |
---|
131 | |
---|
132 | * Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com> |
---|
133 | - removed obsoletes from sub packages and added mozilla and trilobite |
---|
134 | subpackages |
---|
135 | |
---|
136 | * Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com> |
---|
137 | - created this thing |
---|
138 | |
---|