1 | Name: libgxps |
---|
2 | Version: 0.3.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: GObject based library for handling and rendering XPS documents. |
---|
5 | Vendor: Project Vine |
---|
6 | Distribution: Vine Linux |
---|
7 | |
---|
8 | License: LGPLv2+ |
---|
9 | URL: https://live.gnome.org/libgxps |
---|
10 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
11 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: meson |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: libarchive-devel |
---|
18 | BuildRequires: libjpeg-turbo-devel |
---|
19 | BuildRequires: libtiff-devel |
---|
20 | BuildRequires: lcms2-devel |
---|
21 | BuildRequires: gobject-introspection-devel |
---|
22 | BuildRequires: gtk-doc |
---|
23 | |
---|
24 | %description |
---|
25 | libgxps is a GObject based library for handling and rendering XPS |
---|
26 | documents. |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Development tools for %{name} |
---|
30 | Summary(ja): %{name} の開発環境 |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: pkgconfig |
---|
34 | |
---|
35 | %description devel |
---|
36 | Header files and libraries for building a extension library for the |
---|
37 | %{name}. |
---|
38 | |
---|
39 | |
---|
40 | %package doc |
---|
41 | Summary: Documentation for %{name} |
---|
42 | Summary(ja): %{name} 用のドキュメント |
---|
43 | Group: Documentation |
---|
44 | Requires: %{name} = %{version}-%{release} |
---|
45 | BuildArch: noarch |
---|
46 | |
---|
47 | |
---|
48 | %description doc |
---|
49 | This package contains documentation for %{name}. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | %build |
---|
56 | %meson \ |
---|
57 | -Denable-test=false \ |
---|
58 | -Denable-gtk-doc=true |
---|
59 | %meson_build |
---|
60 | |
---|
61 | |
---|
62 | %install |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | %meson_install |
---|
65 | |
---|
66 | |
---|
67 | %clean |
---|
68 | rm -rf $RPM_BUILD_ROOT |
---|
69 | |
---|
70 | |
---|
71 | %post -p /sbin/ldconfig |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | |
---|
75 | %files |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %license COPYING |
---|
78 | %doc ChangeLog AUTHORS NEWS README |
---|
79 | %{_bindir}/xpstojpeg |
---|
80 | %{_bindir}/xpstopdf |
---|
81 | %{_bindir}/xpstopng |
---|
82 | %{_bindir}/xpstops |
---|
83 | %{_bindir}/xpstosvg |
---|
84 | %{_libdir}/%{name}.so.* |
---|
85 | %{_libdir}/girepository-1.0/GXPS-0.1.typelib |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-, root, root) |
---|
89 | %{_includedir}/%{name} |
---|
90 | %{_libdir}/%{name}.so |
---|
91 | %{_libdir}/pkgconfig/%{name}.pc |
---|
92 | %{_datadir}/gir-1.0/GXPS-0.1.gir |
---|
93 | |
---|
94 | %files doc |
---|
95 | %defattr(-, root, root) |
---|
96 | %{_datadir}/gtk-doc/html/%{name} |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.3.1-1 |
---|
101 | - new upstream release. |
---|
102 | |
---|
103 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.2-1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3.1-1 |
---|
107 | - new upstream release |
---|
108 | |
---|
109 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-3 |
---|
110 | - rebuild with libarchve-3.1.2 |
---|
111 | |
---|
112 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2 |
---|
113 | - rebuild with VineSeed environment |
---|
114 | |
---|
115 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1 |
---|
116 | - initial build |
---|