]>
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 |
65ca919e | 4 | Version: 3.18.0 |
ba603d94 | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
65ca919e MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.18/%{name}-%{version}.tar.xz |
9 | # Source0-md5: d23b26c4aea3586091639ccb07082761 | |
cda605d9 MB |
10 | URL: http://projects.gnome.org/yelp/ |
11 | BuildRequires: autoconf >= 2.63 | |
12 | BuildRequires: automake >= 1:1.11 | |
708cfbb0 | 13 | BuildRequires: bzip2-devel |
41177806 | 14 | BuildRequires: gettext-tools |
ba603d94 | 15 | BuildRequires: glib2-devel >= 1:2.38.0 |
e7b16630 | 16 | BuildRequires: gnome-common >= 2.24.0 |
593c90d0 | 17 | BuildRequires: gtk+3-devel >= 3.13.3 |
cda605d9 | 18 | BuildRequires: gtk-doc >= 1.13 |
65ca919e | 19 | BuildRequires: gtk-webkit4-devel >= 2.8.0 |
cda605d9 | 20 | BuildRequires: intltool >= 0.41.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 |
d70f9358 | 25 | BuildRequires: lzma-devel >= 4.9 |
94294d0d | 26 | BuildRequires: pkgconfig >= 1:0.15.0 |
cda605d9 MB |
27 | BuildRequires: rpmbuild(macros) >= 1.601 |
28 | BuildRequires: sqlite3-devel | |
8e932e03 MB |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
593c90d0 | 31 | BuildRequires: yelp-xsl >= 3.12.0 |
cda605d9 | 32 | Requires(post,postun): desktop-file-utils |
488a58d1 | 33 | Requires(post,postun): glib2 >= 1:2.28.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 |
cda605d9 | 40 | Requires: gnome-icon-theme-symbolic |
593c90d0 | 41 | Requires: yelp-xsl >= 3.12.0 |
c4285385 MB |
42 | # sr@Latn vs. sr@latin |
43 | Conflicts: glibc-misc < 6:2.7 | |
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 | |
60 | ||
61 | %description libs | |
62 | yelp library. | |
63 | ||
64 | %description libs -l pl.UTF-8 | |
65 | Biblioteka yelp. | |
66 | ||
67 | %package devel | |
68 | Summary: Header files for yelp library | |
69 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yelp | |
70 | Group: Development/Libraries | |
71 | Requires: %{name}-libs = %{version}-%{release} | |
ba603d94 | 72 | Requires: glib2-devel >= 1:2.38.0 |
593c90d0 | 73 | Requires: gtk+3-devel >= 3.13.3 |
65ca919e | 74 | Requires: gtk-webkit4-devel >= 2.8.0 |
cda605d9 MB |
75 | Requires: libxml2-devel >= 1:2.6.31 |
76 | Requires: libxslt-devel >= 1.1.22 | |
77 | ||
78 | %description devel | |
79 | Header files for yelp library. | |
80 | ||
81 | %description devel -l pl.UTF-8 | |
82 | Pliki nagłówkowe biblioteki yelp. | |
83 | ||
84 | %package apidocs | |
85 | Summary: yelp library API documentation | |
86 | Summary(pl.UTF-8): Dokumentacja API biblioteki yelp | |
87 | Group: Documentation | |
88 | Requires: gtk-doc-common | |
151b94e0 ER |
89 | %if "%{_rpmversion}" >= "5" |
90 | BuildArch: noarch | |
91 | %endif | |
cda605d9 MB |
92 | |
93 | %description apidocs | |
94 | yelp library API documentation. | |
95 | ||
96 | %description apidocs -l pl.UTF-8 | |
97 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 98 | |
79f3a103 | 99 | %prep |
ccb9f7bf | 100 | %setup -q |
e48cadd2 | 101 | |
79f3a103 | 102 | %build |
2f8b9adc | 103 | %{__intltoolize} |
badb51e0 | 104 | %{__libtoolize} |
ac42d540 | 105 | %{__aclocal} -I m4 |
c274dea6 | 106 | %{__autoconf} |
2f8b9adc | 107 | %{__autoheader} |
c274dea6 | 108 | %{__automake} |
cda605d9 MB |
109 | %configure \ |
110 | --disable-silent-rules \ | |
111 | --disable-schemas-compile \ | |
112 | --disable-static \ | |
d70f9358 | 113 | --disable-gtk-doc \ |
cda605d9 MB |
114 | --with-html-dir=%{_gtkdocdir} |
115 | %{__make} | |
79f3a103 | 116 | |
117 | %install | |
118 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 119 | |
a3ef75ef | 120 | %{__make} install \ |
62383471 | 121 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 122 | |
cda605d9 | 123 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
65ca919e MB |
124 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/*.la |
125 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la | |
cda605d9 | 126 | |
2f8b9adc | 127 | %find_lang %{name} |
79f3a103 | 128 | |
129 | %clean | |
130 | rm -rf $RPM_BUILD_ROOT | |
131 | ||
a7dc9ceb | 132 | %post |
cda605d9 MB |
133 | %update_desktop_database_post |
134 | %glib_compile_schemas | |
a7dc9ceb | 135 | |
5fcb1653 | 136 | %postun |
cda605d9 MB |
137 | %update_desktop_database_postun |
138 | %glib_compile_schemas | |
139 | ||
140 | %post libs -p /sbin/ldconfig | |
141 | %postun libs -p /sbin/ldconfig | |
5fcb1653 | 142 | |
79f3a103 | 143 | %files -f %{name}.lang |
b624bdba | 144 | %defattr(644,root,root,755) |
c274dea6 | 145 | %doc README ChangeLog NEWS TODO AUTHORS |
2f8b9adc PZ |
146 | %attr(755,root,root) %{_bindir}/gnome-help |
147 | %attr(755,root,root) %{_bindir}/yelp | |
cda605d9 | 148 | %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml |
2f8b9adc | 149 | %{_datadir}/yelp |
3cf108e1 | 150 | %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml |
2f8b9adc | 151 | %{_desktopdir}/yelp.desktop |
cda605d9 MB |
152 | |
153 | %files libs | |
154 | %defattr(644,root,root,755) | |
155 | %attr(755,root,root) %{_libdir}/libyelp.so.*.*.* | |
156 | %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0 | |
65ca919e MB |
157 | %dir %{_libdir}/yelp |
158 | %attr(755,root,root) %{_libdir}/yelp/libyelpcommon.so | |
159 | %dir %{_libdir}/yelp/web-extensions | |
160 | %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so | |
cda605d9 MB |
161 | |
162 | %files devel | |
163 | %defattr(644,root,root,755) | |
164 | %attr(755,root,root) %{_libdir}/libyelp.so | |
165 | %{_includedir}/libyelp | |
166 | ||
167 | %files apidocs | |
168 | %defattr(644,root,root,755) | |
169 | %{_gtkdocdir}/libyelp |