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