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