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