~ubuntu-branches/ubuntu/raring/librsvg/raring-proposed

« back to all changes in this revision

Viewing changes to librsvg.spec

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-27 01:47:52 UTC
  • mfrom: (1.1.32) (36 experimental)
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: package-import@ubuntu.com-20120327014752-c9vmipiww40cnip7
Tags: 2.36.0-1
* New upstream release.
* Update debian/copyright using the machine-readable copyright format 1.0.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%define __libtoolize :
2
 
%define __spec_install_post /usr/lib/rpm/brp-compress
3
 
Name:             librsvg2
4
 
Summary:          An SVG library based on cairo.
5
 
Version:          2.34.2
6
 
Release:          2
7
 
License:          LGPL
8
 
Group:            System Environment/Libraries
9
 
Source:           librsvg-%{version}.tar.gz
10
 
URL:              http://librsvg.sourceforge.net/
11
 
BuildRoot:        %{_tmppath}/%{name}-%{version}-root
12
 
BuildRequires:    pkgconfig >= 0.8
13
 
Requires:         glib2 >= @GLIB_REQUIRED@
14
 
Requires:         cairo >= @CAIRO_REQUIRED@
15
 
Requires:         libxml2 >= @LIBXML_REQUIRED@
16
 
Requires:         pango >= @PANGOFT2_REQUIRED@
17
 
Requires:         libgsf >= 1.6.0
18
 
BuildRequires:    glib2-devel >= @GLIB_REQUIRED@
19
 
BuildRequires:    cairo-devel >= @CAIRO_REQUIRED@
20
 
BuildRequires:    libxml2-devel >= @LIBXML_REQUIRED@
21
 
BuildRequires:    pango-devel >= @PANGOFT2_REQUIRED@
22
 
BuildRequires:    libgsf >= 1.6.0
23
 
 
24
 
%description
25
 
An SVG library based on cairo.
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:         glib2 >= @GLIB_REQUIRED@
34
 
Requires:         glib2-devel >= @GLIB_REQUIRED@
35
 
Requires:         cairo >= @CAIRO_REQUIRED@
36
 
Requires:         cairo-devel >= @CAIRO_REQUIRED@
37
 
Requires:         libxml2 >= @LIBXML_REQUIRED@
38
 
Requires:         libxml2-devel >= @LIBXML_REQUIRED@
39
 
Requires:         pango >= @PANGOFT2_REQUIRED@
40
 
Requires:         pango-devel >= @PANGOFT2_REQUIRED@
41
 
 
42
 
 
43
 
%description devel
44
 
This package provides the necessary development libraries and include
45
 
files to allow you to develop with librsvg.
46
 
 
47
 
%package -n librsvg2-gtk
48
 
Summary:        Gtk+ 2.0 theme engine for SVG based themes
49
 
Group:          System Environment/Libraries
50
 
Requires:         gtk2 >= @GDK_PIXBUF_REQUIRED@
51
 
BuildRequires:         gtk2-devel >= @GDK_PIXBUF_REQUIRED@
52
 
 
53
 
 
54
 
%description -n librsvg2-gtk
55
 
This package installs a GTK+ 2.0 theme engine that uses SVG images. It is based
56
 
on the gdkpixbuf engine.
57
 
 
58
 
%prep
59
 
%setup -q -n librsvg-%{version}
60
 
 
61
 
%build
62
 
%configure --enable-svgz
63
 
make
64
 
 
65
 
%install
66
 
rm -rf $RPM_BUILD_ROOT
67
 
 
68
 
%makeinstall
69
 
# Clean out files that should not be part of the rpm.
70
 
# This is the recommended way of dealing with it for RH8
71
 
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/*.la
72
 
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/loaders/*.la
73
 
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74
 
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
75
 
mkdir -p $RPM_BUILD_DIR/librsvg-%{version}
76
 
touch $RPM_BUILD_DIR/librsvg-%{version}/debugfiles.list
77
 
%clean
78
 
rm -rf $RPM_BUILD_ROOT
79
 
 
80
 
%post -n librsvg2-gtk
81
 
/sbin/ldconfig
82
 
mkdir -p %{_sysconfdir}/gtk-2.0
83
 
gdk-pixbuf-query-loaders-32 > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
84
 
 
85
 
%postun -n librsvg2-gtk
86
 
/sbin/ldconfig
87
 
gdk-pixbuf-query-loaders-32 > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
88
 
 
89
 
%files
90
 
%defattr(-, root, root)
91
 
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO
92
 
%{_libdir}/*.so.*
93
 
%{_bindir}/rsvg
94
 
%{_mandir}/*/*
95
 
 
96
 
%files devel
97
 
%defattr(-, root, root)
98
 
%{_libdir}/*.*
99
 
%{_includedir}/librsvg-2/librsvg/*.h
100
 
%{_libdir}/pkgconfig/librsvg-2.0.pc
101
 
%{_datadir}/gtk-doc/html/rsvg/*
102
 
 
103
 
%files -n librsvg2-gtk
104
 
%defattr(-, root, root)
105
 
%{_bindir}/rsvg*
106
 
%{_libdir}/gtk-2.0/2.4.0/engines/*
107
 
%{_libdir}/gtk-2.0/2.4.0/loaders/*
108
 
%{_datadir}/pixmaps/*
109
 
# %{_datadir}/themes/bubble/gtk-2.0/*
110
 
# %{_datadir}/themes/bubble/README
111
 
 
112
 
%changelog
113
 
* Sat Mar 20 2004 Christian Schaller <Uraeus@gnome.org>
114
 
- Update the path for the engines and loaders
115
 
* Thu Mar 18 2004 Christian Schaller <Uraeus@gnome.org>
116
 
- Add mozilla plugins (to gtk for now)
117
 
- Add .a files since they should probably be installed
118
 
 
119
 
* Sun Feb 02 2003 Christian Schaller <Uraeus@linuxrising.org>
120
 
- Update to handle latest changes
121
 
- Add some fixes from the RH spec file
122
 
- renamed rsvg-gtk package to librsvg-gtk
123
 
- Improve depency listing somewhat
124
 
 
125
 
* Thu Oct 22 2002 Christian Schaller <Uraeus@linuxrising.org>
126
 
- Disabled building of example theme (as done in gtk-engines)
127
 
 
128
 
* Mon Oct 21 2002 Christian Schaller <Uraeus@linuxrising.org>
129
 
- Fixes for RH 8 
130
 
- Adding gtk theme engine
131
 
- adding gdk-loader
132
 
 
133
 
* Tue Mar 05 2002 Chris Chabot <chabotc@reviewboard.com>
134
 
- Deps
135
 
- Formatting
136
 
- converted to .spec.in
137
 
 
138
 
* Sat Jan 19 2002 Chris Chabot <chabotc@reviewboard.com>
139
 
- Imported into gnome 2.0 alpha, set Requirements accordingly
140
 
- Bumped version to 1.1.1
141
 
- Minor cleanups
142
 
 
143
 
* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
144
 
- new CVS snap 1.1.0.91
145
 
- remove automake/autoconf calls
146
 
 
147
 
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
148
 
- convert to librsvg2 RPM
149
 
 
150
 
* Tue Oct 23 2001 Havoc Pennington <hp@redhat.com>
151
 
- 1.0.2
152
 
 
153
 
* Fri Jul 27 2001 Alexander Larsson <alexl@redhat.com>
154
 
- Add a patch that moves the includes to librsvg-1/librsvg
155
 
- in preparation for a later librsvg 2 library.
156
 
 
157
 
* Tue Jul 24 2001 Havoc Pennington <hp@redhat.com>
158
 
- build requires gnome-libs-devel, #49509
159
 
 
160
 
* Thu Jul 19 2001 Havoc Pennington <hp@redhat.com>
161
 
- own /usr/include/librsvg
162
 
 
163
 
* Wed Jul 18 2001 Akira TAGOH <tagoh@redhat.com> 1.0.0-4
164
 
- fixed the linefeed problem in multibyte environment. (Bug#49310)
165
 
 
166
 
* Mon Jul 09 2001 Havoc Pennington <hp@redhat.com>
167
 
- put .la file back in package
168
 
 
169
 
* Fri Jul  6 2001 Trond Eivind Glomsr�d <teg@redhat.com>
170
 
- Put changelog at the end
171
 
- Move .so files to devel subpackage
172
 
- Don't mess with ld.so.conf
173
 
- Don't use %%{prefix}, this isn't a relocatable package
174
 
- Don't define a bad docdir
175
 
- Add BuildRequires
176
 
- Use %%{_tmppath}
177
 
- Don't define name, version etc. on top of the file (why do so many do that?)
178
 
- s/Copyright/License/
179
 
 
180
 
* Wed May  9 2001 Jonathan Blandford <jrb@redhat.com>
181
 
- Put into Red Hat Build system
182
 
 
183
 
* Tue Oct 10 2000 Robin Slomkowski <rslomkow@eazel.com>
184
 
- removed obsoletes from sub packages and added mozilla and trilobite
185
 
subpackages
186
 
 
187
 
* Wed Apr 26 2000 Ramiro Estrugo <ramiro@eazel.com>
188
 
- created this thing
189