]>
Commit | Line | Data |
---|---|---|
76dacf75 | 1 | Summary: A system documentation reader from the GNOME project |
3330c3e5 | 2 | Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME |
b624bdba | 3 | Name: yelp |
7ec24c40 | 4 | Version: 41.1 |
31cda5ec | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
7ec24c40 JB |
8 | Source0: https://download.gnome.org/sources/yelp/41/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 33c344d75de0f6d7a76524855766ff47 | |
c1ccf3b3 JB |
10 | URL: https://wiki.gnome.org/Apps/Yelp |
11 | BuildRequires: appstream-glib-devel | |
cda605d9 | 12 | BuildRequires: autoconf >= 2.63 |
7c2e1674 | 13 | BuildRequires: automake >= 1:1.11.2 |
708cfbb0 | 14 | BuildRequires: bzip2-devel |
c1ccf3b3 | 15 | BuildRequires: gettext-tools >= 0.19.8 |
7ec24c40 | 16 | BuildRequires: glib2-devel >= 1:2.67.4 |
593c90d0 | 17 | BuildRequires: gtk+3-devel >= 3.13.3 |
cda605d9 | 18 | BuildRequires: gtk-doc >= 1.13 |
7ec24c40 | 19 | # defaults to -4.1 (soup3) |
077e7ec5 | 20 | BuildRequires: gtk-webkit4-devel >= 2.20.0 |
488a58d1 | 21 | BuildRequires: itstool >= 1.2.0 |
cda605d9 | 22 | BuildRequires: libtool >= 2:2.2.6 |
2f8b9adc | 23 | BuildRequires: libxml2-devel >= 1:2.6.31 |
62253846 | 24 | BuildRequires: libxslt-devel >= 1.1.22 |
94294d0d | 25 | BuildRequires: pkgconfig >= 1:0.15.0 |
5f126ae1 | 26 | BuildRequires: rpm-build >= 4.6 |
52d46eaf | 27 | BuildRequires: rpmbuild(macros) >= 1.752 |
c1ccf3b3 | 28 | BuildRequires: sqlite3-devel >= 3 |
8e932e03 MB |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
c1ccf3b3 | 31 | BuildRequires: xz-devel >= 1:4.9 |
7ec24c40 | 32 | BuildRequires: yelp-xsl >= 41.0 |
cda605d9 | 33 | Requires(post,postun): desktop-file-utils |
7ec24c40 | 34 | Requires(post,postun): glib2 >= 1:2.67.4 |
cda605d9 MB |
35 | Requires: %{name}-libs = %{version}-%{release} |
36 | Requires: docbook-dtd412-xml | |
37 | Requires: docbook-dtd42-xml | |
38 | Requires: docbook-dtd43-xml | |
39 | Requires: docbook-dtd44-xml | |
5f126ae1 JB |
40 | Requires: docbook-dtd45-xml |
41 | Requires: docbook-style-xsl-nons >= 1.55.0 | |
7ec24c40 | 42 | Requires: yelp-xsl >= 41.0 |
b624bdba | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
79f3a103 | 45 | %description |
cda605d9 MB |
46 | Yelp is the default help browser for the GNOME desktop. Yelp provides |
47 | a simple graphical interface for viewing DocBook, HTML, man, and info | |
48 | formatted documentation. | |
79f3a103 | 49 | |
234614fa | 50 | %description -l pl.UTF-8 |
cda605d9 MB |
51 | Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza |
52 | prosty graficzny interfejs do oglądania dokumentacji w formatach | |
53 | DocBook, HTML, man i info. | |
54 | ||
55 | %package libs | |
56 | Summary: yelp library | |
57 | Summary(pl.UTF-8): Biblioteka yelp | |
58 | Group: Libraries | |
7ec24c40 JB |
59 | Requires: glib2 >= 1:2.67.4 |
60 | Requires: gtk+3 >= 3.13.3 | |
61 | Requires: gtk-webkit4 >= 2.20.0 | |
62 | Requires: libxml2 >= 1:2.6.31 | |
63 | Requires: libxslt >= 1.1.22 | |
cda605d9 MB |
64 | |
65 | %description libs | |
66 | yelp library. | |
67 | ||
68 | %description libs -l pl.UTF-8 | |
69 | Biblioteka yelp. | |
70 | ||
71 | %package devel | |
72 | Summary: Header files for yelp library | |
73 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yelp | |
74 | Group: Development/Libraries | |
75 | Requires: %{name}-libs = %{version}-%{release} | |
7ec24c40 | 76 | Requires: glib2-devel >= 1:2.67.4 |
593c90d0 | 77 | Requires: gtk+3-devel >= 3.13.3 |
077e7ec5 | 78 | Requires: gtk-webkit4-devel >= 2.20.0 |
cda605d9 MB |
79 | Requires: libxml2-devel >= 1:2.6.31 |
80 | Requires: libxslt-devel >= 1.1.22 | |
81 | ||
82 | %description devel | |
83 | Header files for yelp library. | |
84 | ||
85 | %description devel -l pl.UTF-8 | |
86 | Pliki nagłówkowe biblioteki yelp. | |
87 | ||
88 | %package apidocs | |
89 | Summary: yelp library API documentation | |
90 | Summary(pl.UTF-8): Dokumentacja API biblioteki yelp | |
91 | Group: Documentation | |
92 | Requires: gtk-doc-common | |
93c50703 | 93 | BuildArch: noarch |
cda605d9 MB |
94 | |
95 | %description apidocs | |
96 | yelp library API documentation. | |
97 | ||
98 | %description apidocs -l pl.UTF-8 | |
99 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 100 | |
79f3a103 | 101 | %prep |
ccb9f7bf | 102 | %setup -q |
e48cadd2 | 103 | |
79f3a103 | 104 | %build |
badb51e0 | 105 | %{__libtoolize} |
ac42d540 | 106 | %{__aclocal} -I m4 |
c274dea6 | 107 | %{__autoconf} |
2f8b9adc | 108 | %{__autoheader} |
c274dea6 | 109 | %{__automake} |
cda605d9 MB |
110 | %configure \ |
111 | --disable-silent-rules \ | |
112 | --disable-schemas-compile \ | |
113 | --disable-static \ | |
d70f9358 | 114 | --disable-gtk-doc \ |
7ec24c40 JB |
115 | --with-html-dir=%{_gtkdocdir} \ |
116 | --with-webkit2gtk-4-0 | |
cda605d9 | 117 | %{__make} |
79f3a103 | 118 | |
119 | %install | |
120 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 121 | |
a3ef75ef | 122 | %{__make} install \ |
62383471 | 123 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 124 | |
cda605d9 | 125 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
65ca919e | 126 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la |
cda605d9 | 127 | |
2f8b9adc | 128 | %find_lang %{name} |
79f3a103 | 129 | |
130 | %clean | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
a7dc9ceb | 133 | %post |
cda605d9 MB |
134 | %update_desktop_database_post |
135 | %glib_compile_schemas | |
a7dc9ceb | 136 | |
5fcb1653 | 137 | %postun |
cda605d9 MB |
138 | %update_desktop_database_postun |
139 | %glib_compile_schemas | |
140 | ||
141 | %post libs -p /sbin/ldconfig | |
142 | %postun libs -p /sbin/ldconfig | |
5fcb1653 | 143 | |
79f3a103 | 144 | %files -f %{name}.lang |
b624bdba | 145 | %defattr(644,root,root,755) |
47946d6e | 146 | %doc AUTHORS NEWS README TODO |
2f8b9adc PZ |
147 | %attr(755,root,root) %{_bindir}/gnome-help |
148 | %attr(755,root,root) %{_bindir}/yelp | |
cda605d9 | 149 | %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml |
c1ccf3b3 | 150 | %{_datadir}/metainfo/yelp.appdata.xml |
2f8b9adc | 151 | %{_datadir}/yelp |
3cf108e1 | 152 | %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml |
2f8b9adc | 153 | %{_desktopdir}/yelp.desktop |
c1ccf3b3 JB |
154 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Yelp.svg |
155 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg | |
cda605d9 MB |
156 | |
157 | %files libs | |
158 | %defattr(644,root,root,755) | |
159 | %attr(755,root,root) %{_libdir}/libyelp.so.*.*.* | |
160 | %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0 | |
253d8357 | 161 | %dir %{_libdir}/yelp |
65ca919e MB |
162 | %dir %{_libdir}/yelp/web-extensions |
163 | %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so | |
cda605d9 MB |
164 | |
165 | %files devel | |
166 | %defattr(644,root,root,755) | |
167 | %attr(755,root,root) %{_libdir}/libyelp.so | |
168 | %{_includedir}/libyelp | |
169 | ||
170 | %files apidocs | |
171 | %defattr(644,root,root,755) | |
172 | %{_gtkdocdir}/libyelp |