/[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 1139121 - (show annotations) (download)
Tue Aug 8 23:11:46 2017 UTC (6 years, 8 months ago) by ovitters
File size: 5072 byte(s)
new version 1.40.9
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.40.9
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: gobject-introspection-devel >= 0.9.5
38 %if %enable_gtkdoc
39 BuildRequires: gtk-doc >= 0.10
40 BuildRequires: libxslt-proc
41 BuildRequires: docbook-style-xsl
42 BuildRequires: docbook-dtd412-xml
43 %endif
44 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
45
46 %description
47 A library to handle Unicode strings as well as complex bidirectional
48 or context dependent shaped strings.
49 It is the next step on Gtk+ internationalization.
50
51 %package -n %{lib_name}
52 Summary: %{summary}
53 Group: %{group}
54 Provides: lib%{name}%{api_version} = %{version}-%{release}
55 Provides: lib%{name} = %{version}-%{release}
56 Requires: %{name} = %{version}
57 Obsoletes: %{lib_name}-modules < 1.37.0
58 Conflicts: gir-repository < 0.6.5
59
60 %description -n %{lib_name}
61 A library to handle Unicode strings as well as complex bidirectional
62 or context dependent shaped strings.
63 It is the next step on Gtk+ internationalization.
64
65 %package -n %{libnamedev}
66 Summary: %{summary}
67 Group: Development/GNOME and GTK+
68 Obsoletes: %{name}-devel
69 Provides: %{name}-devel = %{version}-%{release}
70 Provides: lib%{name}-devel = %{version}-%{release}
71 Provides: lib%{name}%{api_version}-devel = %{version}-%{release}
72 Requires: %{name} = %{version}
73 Requires: %{lib_name} = %{version}
74 Requires: %{gir_name} = %{version}
75 Recommends: %{name}-doc >= %{version}
76 Obsoletes: %mklibname -d %{name} %{api_version} %{lib_major}
77 Conflicts: %{name} < 1.18.0-3mdv
78 Conflicts: %{_lib}pango1.0_0 < 1.28.1-2
79
80 %description -n %{libnamedev}
81 This package includes the static libraries and header files
82 for the pango package.
83
84 %package -n %{gir_name}
85 Summary: GObject Introspection interface description for %{name}
86 Group: System/Libraries
87 Requires: %{lib_name} = %{version}-%{release}
88 Conflicts: %{mklibname %{name}1.0-gir 1.0}} < 1.29.3-4
89
90 %description -n %{gir_name}
91 GObject Introspection interface description for %{name}.
92
93 %package doc
94 Summary: %{summary}
95 Group: Development/GNOME and GTK+
96 BuildArch: noarch
97
98 %description doc
99 This package provides API documentation for Pango.
100
101 %package tests
102 Summary: Tests for the %{name} package
103 Group: Development/GNOME and GTK+
104 Requires: %{name} = %{version}-%{release}
105
106 %description tests
107 The %{name}-tests package contains tests that can be used to verify
108 the functionality of the installed %{name} package.
109
110 %prep
111 %setup -q
112 %autopatch -p1
113
114 %build
115 # generate build scripts using our autotools/libtoolize
116 autoreconf -fi
117
118 %configure2_5x \
119 --enable-static=no \
120 %if %enable_gtkdoc
121 --enable-gtk-doc=yes \
122 %endif
123 --enable-installed-tests
124
125 %make_build ARCH=%{_arch}
126
127 %check
128 #disabled for https://bugzilla.gnome.org/show_bug.cgi?id=672981
129 make check || true
130
131 %install
132 %make_install
133
134 # remove unpackaged files
135 find %{buildroot} -name '*.la' -delete
136
137 %files
138 %doc README AUTHORS
139 %doc NEWS
140 %{_mandir}/man1/*
141
142 %files -n %{lib_name}
143 %{_libdir}/libpango-%{api_version}.so.%{lib_major}{,.*}
144 %{_libdir}/libpangoft2-%{api_version}.so.%{lib_major}{,.*}
145 %{_libdir}/libpangoxft-%{api_version}.so.%{lib_major}{,.*}
146 %{_libdir}/libpangocairo-%{api_version}.so.%{lib_major}{,.*}
147
148 %files -n %{gir_name}
149 %{_libdir}/girepository-1.0/Pango-%{gir_major}.typelib
150 %{_libdir}/girepository-1.0/PangoCairo-%{gir_major}.typelib
151 %{_libdir}/girepository-1.0/PangoFT2-%{gir_major}.typelib
152 %{_libdir}/girepository-1.0/PangoXft-%{gir_major}.typelib
153
154 %files -n %{libnamedev}
155 %{_bindir}/pango-view*
156 %{_libdir}/libpango-*.so
157 %{_libdir}/libpangoxft-*.so
158 %{_libdir}/libpangoft2-*.so
159 %{_libdir}/libpangocairo*.so
160 %{_libdir}/pkgconfig/*
161 %{_includedir}/*
162 %{_datadir}/gir-1.0/Pango-%{gir_major}.gir
163 %{_datadir}/gir-1.0/PangoCairo-%{gir_major}.gir
164 %{_datadir}/gir-1.0/PangoFT2-%{gir_major}.gir
165 %{_datadir}/gir-1.0/PangoXft-%{gir_major}.gir
166
167 %files doc
168 %doc %{_datadir}/gtk-doc/html/pango
169 %doc ChangeLog
170 %doc pango-view/HELLO.txt
171
172 %files tests
173 %{_libexecdir}/installed-tests/%{name}
174 %{_datadir}/installed-tests/%{name}

  ViewVC Help
Powered by ViewVC 1.1.30