]>
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 |
6973d14d | 4 | Version: 3.38.1 |
31cda5ec | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
47946d6e | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.38/%{name}-%{version}.tar.xz |
6973d14d | 9 | # Source0-md5: e1bf7d21dd2b27f7b40b15e25fdf7a89 |
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 |
cda605d9 | 25 | BuildRequires: rpmbuild(macros) >= 1.601 |
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 | |
151b94e0 ER |
85 | %if "%{_rpmversion}" >= "5" |
86 | BuildArch: noarch | |
87 | %endif | |
cda605d9 MB |
88 | |
89 | %description apidocs | |
90 | yelp library API documentation. | |
91 | ||
92 | %description apidocs -l pl.UTF-8 | |
93 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 94 | |
79f3a103 | 95 | %prep |
ccb9f7bf | 96 | %setup -q |
e48cadd2 | 97 | |
79f3a103 | 98 | %build |
badb51e0 | 99 | %{__libtoolize} |
ac42d540 | 100 | %{__aclocal} -I m4 |
c274dea6 | 101 | %{__autoconf} |
2f8b9adc | 102 | %{__autoheader} |
c274dea6 | 103 | %{__automake} |
cda605d9 MB |
104 | %configure \ |
105 | --disable-silent-rules \ | |
106 | --disable-schemas-compile \ | |
107 | --disable-static \ | |
d70f9358 | 108 | --disable-gtk-doc \ |
cda605d9 MB |
109 | --with-html-dir=%{_gtkdocdir} |
110 | %{__make} | |
79f3a103 | 111 | |
112 | %install | |
113 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 114 | |
a3ef75ef | 115 | %{__make} install \ |
62383471 | 116 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 117 | |
cda605d9 | 118 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
65ca919e | 119 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la |
cda605d9 | 120 | |
2f8b9adc | 121 | %find_lang %{name} |
79f3a103 | 122 | |
123 | %clean | |
124 | rm -rf $RPM_BUILD_ROOT | |
125 | ||
a7dc9ceb | 126 | %post |
cda605d9 MB |
127 | %update_desktop_database_post |
128 | %glib_compile_schemas | |
a7dc9ceb | 129 | |
5fcb1653 | 130 | %postun |
cda605d9 MB |
131 | %update_desktop_database_postun |
132 | %glib_compile_schemas | |
133 | ||
134 | %post libs -p /sbin/ldconfig | |
135 | %postun libs -p /sbin/ldconfig | |
5fcb1653 | 136 | |
79f3a103 | 137 | %files -f %{name}.lang |
b624bdba | 138 | %defattr(644,root,root,755) |
47946d6e | 139 | %doc AUTHORS NEWS README TODO |
2f8b9adc PZ |
140 | %attr(755,root,root) %{_bindir}/gnome-help |
141 | %attr(755,root,root) %{_bindir}/yelp | |
cda605d9 | 142 | %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml |
c1ccf3b3 | 143 | %{_datadir}/metainfo/yelp.appdata.xml |
2f8b9adc | 144 | %{_datadir}/yelp |
3cf108e1 | 145 | %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml |
2f8b9adc | 146 | %{_desktopdir}/yelp.desktop |
c1ccf3b3 JB |
147 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Yelp.svg |
148 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg | |
cda605d9 MB |
149 | |
150 | %files libs | |
151 | %defattr(644,root,root,755) | |
152 | %attr(755,root,root) %{_libdir}/libyelp.so.*.*.* | |
153 | %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0 | |
253d8357 | 154 | %dir %{_libdir}/yelp |
65ca919e MB |
155 | %dir %{_libdir}/yelp/web-extensions |
156 | %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so | |
cda605d9 MB |
157 | |
158 | %files devel | |
159 | %defattr(644,root,root,755) | |
160 | %attr(755,root,root) %{_libdir}/libyelp.so | |
161 | %{_includedir}/libyelp | |
162 | ||
163 | %files apidocs | |
164 | %defattr(644,root,root,755) | |
165 | %{_gtkdocdir}/libyelp |