| 1 | Summary: Library for SVG Files |
|---|
| 2 | Summary(ja): SVG ファイルを扱うライブラリ |
|---|
| 3 | Name: libsvg |
|---|
| 4 | Version: 0.1.4 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | License: LGPL |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | URL: http://www.cairographics.org/ |
|---|
| 9 | Source: %{name}-%{version}.tar.bz2 |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | BuildRequires: libjpeg-devel, libpng-devel, libxml2-devel, pkgconfig |
|---|
| 13 | |
|---|
| 14 | %description |
|---|
| 15 | libsvg provides a parser for SVG content in files or buffers. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | %package devel |
|---|
| 19 | Summary: Library for SVG Files |
|---|
| 20 | Group: Development/Libraries |
|---|
| 21 | Requires: %{name} = %{version} |
|---|
| 22 | Requires: libxml2-devel |
|---|
| 23 | |
|---|
| 24 | %description devel |
|---|
| 25 | libsvg provides a parser for SVG content in files or buffers. |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | %prep |
|---|
| 29 | %setup -q |
|---|
| 30 | |
|---|
| 31 | %build |
|---|
| 32 | %configure |
|---|
| 33 | %__make |
|---|
| 34 | |
|---|
| 35 | %install |
|---|
| 36 | rm -rf $RPM_BUILD_ROOT |
|---|
| 37 | %makeinstall |
|---|
| 38 | |
|---|
| 39 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|---|
| 40 | |
|---|
| 41 | %clean |
|---|
| 42 | rm -rf $RPM_BUILD_ROOT |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %post -p /sbin/ldconfig |
|---|
| 46 | |
|---|
| 47 | %postun -p /sbin/ldconfig |
|---|
| 48 | |
|---|
| 49 | |
|---|
| 50 | %files |
|---|
| 51 | %defattr(-,root,root) |
|---|
| 52 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
|---|
| 53 | %{_libdir}/*.so.* |
|---|
| 54 | |
|---|
| 55 | %files devel |
|---|
| 56 | %defattr(-,root,root) |
|---|
| 57 | %{_libdir}/pkgconfig/%{name}.pc |
|---|
| 58 | %{_libdir}/*.a |
|---|
| 59 | %{_libdir}/*.so |
|---|
| 60 | %{_includedir}/svg.h |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | %changelog |
|---|
| 64 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-2 |
|---|
| 65 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 66 | |
|---|
| 67 | * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.4-1vl5 |
|---|
| 68 | - applied new versioning policy, spec in utf-8 |
|---|
| 69 | |
|---|
| 70 | * Fri Feb 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.4-0vl1 |
|---|
| 71 | - initial build for Vine Linux partially based on opensuse package |
|---|
| 72 | |
|---|
| 73 | * Wed Jan 25 2006 - mls@suse.de |
|---|
| 74 | - converted neededforbuild to BuildRequires |
|---|
| 75 | |
|---|
| 76 | * Wed Nov 02 2005 - sbrabec@suse.cz |
|---|
| 77 | - New SuSE package, version 0.1.4 (#120043). |
|---|