/[packages]/cauldron/pango/current/SPECS/pango.spec
ViewVC logotype

Contents of /cauldron/pango/current/SPECS/pango.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1208594 - (show annotations) (download)
Mon Mar 12 16:23:49 2018 UTC (6 years, 1 month ago) by ovitters
File size: 5106 byte(s)
new version 1.42.0
1 # enable_gtkdoc: Toggle whether gtkdoc stuff should be rebuilt
2 # 0 = No
3 # 1 = Yes
4 %define enable_gtkdoc 1
5
6 # Define biarch packages
7 %define biarches_32 %{ix86} ppc
8 %define biarches_64 x86_64 ppc64
9
10 %define api_version 1.0
11 %define gir_major 1.0
12 %define module_version 1.8.0
13 %define lib_major 0
14 %define lib_name %mklibname %{name} %{api_version} %{lib_major}
15 %define libnamedev %mklibname -d %{name} %{api_version}
16 %define gir_name %mklibname %{name}-gir %{gir_major}
17
18 %define url_ver %(echo %{version}|cut -d. -f1,2)
19
20 Summary: System for layout and rendering of internationalized text
21 Name: pango
22 Version: 1.42.0
23 Release: %mkrel 1
24 License: LGPLv2+
25 Group: System/Internationalization
26 URL: http://www.pango.org/
27 BuildRequires: pkgconfig(cairo) >= 1.12.10
28 BuildRequires: pkgconfig(fontconfig) >= 2.10.91
29 BuildRequires: pkgconfig(freetype2)
30 BuildRequires: pkgconfig(glib-2.0) >= 2.33.12
31 BuildRequires: pkgconfig(gmodule-no-export-2.0)
32 BuildRequires: pkgconfig(gobject-2.0)
33 BuildRequires: pkgconfig(harfbuzz) >= 0.9.9
34 BuildRequires: pkgconfig(libthai) >= 0.1.9
35 BuildRequires: pkgconfig(xft) >= 2.0.0
36 BuildRequires: pkgconfig(xrender)
37 BuildRequires: pkgconfig(fribidi)
38 BuildRequires: gobject-introspection-devel >= 0.9.5
39 %if %enable_gtkdoc
40 BuildRequires: gtk-doc >= 0.10
41 BuildRequires: libxslt-proc
42 BuildRequires: docbook-style-xsl
43 BuildRequires: docbook-dtd412-xml
44 %endif
45 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
46
47 %description
48 A library to handle Unicode strings as well as complex bidirectional
49 or context dependent shaped strings.
50 It is the next step on Gtk+ internationalization.
51
52 %package -n %{lib_name}
53 Summary: %{summary}
54 Group: %{group}
55 Provides: lib%{name}%{api_version} = %{version}-%{release}
56 Provides: lib%{name} = %{version}-%{release}
57 Requires: %{name} = %{version}
58 Obsoletes: %{lib_name}-modules < 1.37.0
59 Conflicts: gir-repository < 0.6.5
60
61 %description -n %{lib_name}
62 A library to handle Unicode strings as well as complex bidirectional
63 or context dependent shaped strings.
64 It is the next step on Gtk+ internationalization.
65
66 %package -n %{libnamedev}
67 Summary: %{summary}
68 Group: Development/GNOME and GTK+
69 Obsoletes: %{name}-devel
70 Provides: %{name}-devel = %{version}-%{release}
71 Provides: lib%{name}-devel = %{version}-%{release}
72 Provides: lib%{name}%{api_version}-devel = %{version}-%{release}
73 Requires: %{name} = %{version}
74 Requires: %{lib_name} = %{version}
75 Requires: %{gir_name} = %{version}
76 Recommends: %{name}-doc >= %{version}
77 Obsoletes: %mklibname -d %{name} %{api_version} %{lib_major}
78 Conflicts: %{name} < 1.18.0-3mdv
79 Conflicts: %{_lib}pango1.0_0 < 1.28.1-2
80
81 %description -n %{libnamedev}
82 This package includes the static libraries and header files
83 for the pango package.
84
85 %package -n %{gir_name}
86 Summary: GObject Introspection interface description for %{name}
87 Group: System/Libraries
88 Requires: %{lib_name} = %{version}-%{release}
89 Conflicts: %{mklibname %{name}1.0-gir 1.0}} < 1.29.3-4
90
91 %description -n %{gir_name}
92 GObject Introspection interface description for %{name}.
93
94 %package doc
95 Summary: %{summary}
96 Group: Development/GNOME and GTK+
97 BuildArch: noarch
98
99 %description doc
100 This package provides API documentation for Pango.
101
102 %package tests
103 Summary: Tests for the %{name} package
104 Group: Development/GNOME and GTK+
105 Requires: %{name} = %{version}-%{release}
106
107 %description tests
108 The %{name}-tests package contains tests that can be used to verify
109 the functionality of the installed %{name} package.
110
111 %prep
112 %setup -q
113 %autopatch -p1
114
115 %build
116 # generate build scripts using our autotools/libtoolize
117 autoreconf -fi
118
119 %configure2_5x \
120 --enable-static=no \
121 %if %enable_gtkdoc
122 --enable-gtk-doc=yes \
123 %endif
124 --enable-installed-tests
125
126 %make_build ARCH=%{_arch}
127
128 %check
129 #disabled for https://bugzilla.gnome.org/show_bug.cgi?id=672981
130 make check || true
131
132 %install
133 %make_install
134
135 # remove unpackaged files
136 find %{buildroot} -name '*.la' -delete
137
138 %files
139 %doc README AUTHORS
140 %doc NEWS
141 %{_mandir}/man1/*
142
143 %files -n %{lib_name}
144 %{_libdir}/libpango-%{api_version}.so.%{lib_major}{,.*}
145 %{_libdir}/libpangoft2-%{api_version}.so.%{lib_major}{,.*}
146 %{_libdir}/libpangoxft-%{api_version}.so.%{lib_major}{,.*}
147 %{_libdir}/libpangocairo-%{api_version}.so.%{lib_major}{,.*}
148
149 %files -n %{gir_name}
150 %{_libdir}/girepository-1.0/Pango-%{gir_major}.typelib
151 %{_libdir}/girepository-1.0/PangoCairo-%{gir_major}.typelib
152 %{_libdir}/girepository-1.0/PangoFT2-%{gir_major}.typelib
153 %{_libdir}/girepository-1.0/PangoXft-%{gir_major}.typelib
154
155 %files -n %{libnamedev}
156 %{_bindir}/pango-view*
157 %{_libdir}/libpango-*.so
158 %{_libdir}/libpangoxft-*.so
159 %{_libdir}/libpangoft2-*.so
160 %{_libdir}/libpangocairo*.so
161 %{_libdir}/pkgconfig/*
162 %{_includedir}/*
163 %{_datadir}/gir-1.0/Pango-%{gir_major}.gir
164 %{_datadir}/gir-1.0/PangoCairo-%{gir_major}.gir
165 %{_datadir}/gir-1.0/PangoFT2-%{gir_major}.gir
166 %{_datadir}/gir-1.0/PangoXft-%{gir_major}.gir
167
168 %files doc
169 %doc %{_datadir}/gtk-doc/html/pango
170 %doc ChangeLog
171 %doc pango-view/HELLO.txt
172
173 %files tests
174 %{_libexecdir}/installed-tests/%{name}
175 %{_datadir}/installed-tests/%{name}

  ViewVC Help
Powered by ViewVC 1.1.30