]>
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 |
4e91f5b0 | 4 | Version: 3.14.1 |
593c90d0 | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
593c90d0 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.14/%{name}-%{version}.tar.xz |
4e91f5b0 | 9 | # Source0-md5: 1e2c282183761904c507c7efa6be7037 |
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 |
cda605d9 | 15 | BuildRequires: glib2-devel >= 1:2.28.0 |
e7b16630 | 16 | BuildRequires: gnome-common >= 2.24.0 |
be50cf17 | 17 | BuildRequires: gnome-doc-utils >= 0.20.0 |
593c90d0 | 18 | BuildRequires: gtk+3-devel >= 3.13.3 |
cda605d9 | 19 | BuildRequires: gtk-doc >= 1.13 |
2fda718e | 20 | BuildRequires: gtk-webkit3-devel >= 1.4.0 |
cda605d9 | 21 | BuildRequires: intltool >= 0.41.0 |
488a58d1 | 22 | BuildRequires: itstool >= 1.2.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 |
d70f9358 | 26 | BuildRequires: lzma-devel >= 4.9 |
94294d0d | 27 | BuildRequires: pkgconfig >= 1:0.15.0 |
cda605d9 MB |
28 | BuildRequires: rpmbuild(macros) >= 1.601 |
29 | BuildRequires: sqlite3-devel | |
8e932e03 MB |
30 | BuildRequires: tar >= 1:1.22 |
31 | BuildRequires: xz | |
593c90d0 | 32 | BuildRequires: yelp-xsl >= 3.12.0 |
cda605d9 | 33 | Requires(post,postun): desktop-file-utils |
488a58d1 | 34 | Requires(post,postun): glib2 >= 1:2.28.0 |
cda605d9 MB |
35 | Requires: %{name}-libs = %{version}-%{release} |
36 | Requires: docbook-dtd412-xml | |
37 | Requires: docbook-dtd42-xml | |
38 | Requires: docbook-dtd43-xml | |
39 | Requires: docbook-dtd44-xml | |
eb7456ff | 40 | Requires: docbook-style-xsl >= 1.55.0 |
be50cf17 | 41 | Requires: gnome-doc-utils >= 0.20.0 |
cda605d9 | 42 | Requires: gnome-icon-theme-symbolic |
593c90d0 | 43 | Requires: yelp-xsl >= 3.12.0 |
c4285385 MB |
44 | # sr@Latn vs. sr@latin |
45 | Conflicts: glibc-misc < 6:2.7 | |
b624bdba | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
79f3a103 | 48 | %description |
cda605d9 MB |
49 | Yelp is the default help browser for the GNOME desktop. Yelp provides |
50 | a simple graphical interface for viewing DocBook, HTML, man, and info | |
51 | formatted documentation. | |
79f3a103 | 52 | |
234614fa | 53 | %description -l pl.UTF-8 |
cda605d9 MB |
54 | Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza |
55 | prosty graficzny interfejs do oglądania dokumentacji w formatach | |
56 | DocBook, HTML, man i info. | |
57 | ||
58 | %package libs | |
59 | Summary: yelp library | |
60 | Summary(pl.UTF-8): Biblioteka yelp | |
61 | Group: Libraries | |
62 | ||
63 | %description libs | |
64 | yelp library. | |
65 | ||
66 | %description libs -l pl.UTF-8 | |
67 | Biblioteka yelp. | |
68 | ||
69 | %package devel | |
70 | Summary: Header files for yelp library | |
71 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yelp | |
72 | Group: Development/Libraries | |
73 | Requires: %{name}-libs = %{version}-%{release} | |
74 | Requires: glib2-devel >= 1:2.28.0 | |
593c90d0 | 75 | Requires: gtk+3-devel >= 3.13.3 |
2fda718e | 76 | Requires: gtk-webkit3-devel >= 1.4.0 |
cda605d9 MB |
77 | Requires: libxml2-devel >= 1:2.6.31 |
78 | Requires: libxslt-devel >= 1.1.22 | |
79 | ||
80 | %description devel | |
81 | Header files for yelp library. | |
82 | ||
83 | %description devel -l pl.UTF-8 | |
84 | Pliki nagłówkowe biblioteki yelp. | |
85 | ||
86 | %package apidocs | |
87 | Summary: yelp library API documentation | |
88 | Summary(pl.UTF-8): Dokumentacja API biblioteki yelp | |
89 | Group: Documentation | |
90 | Requires: gtk-doc-common | |
151b94e0 ER |
91 | %if "%{_rpmversion}" >= "5" |
92 | BuildArch: noarch | |
93 | %endif | |
cda605d9 MB |
94 | |
95 | %description apidocs | |
96 | yelp library API documentation. | |
97 | ||
98 | %description apidocs -l pl.UTF-8 | |
99 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 100 | |
79f3a103 | 101 | %prep |
ccb9f7bf | 102 | %setup -q |
e48cadd2 | 103 | |
79f3a103 | 104 | %build |
2f8b9adc | 105 | %{__intltoolize} |
badb51e0 | 106 | %{__libtoolize} |
ac42d540 | 107 | %{__aclocal} -I m4 |
c274dea6 | 108 | %{__autoconf} |
2f8b9adc | 109 | %{__autoheader} |
c274dea6 | 110 | %{__automake} |
cda605d9 MB |
111 | %configure \ |
112 | --disable-silent-rules \ | |
113 | --disable-schemas-compile \ | |
114 | --disable-static \ | |
d70f9358 | 115 | --disable-gtk-doc \ |
cda605d9 MB |
116 | --with-html-dir=%{_gtkdocdir} |
117 | %{__make} | |
79f3a103 | 118 | |
119 | %install | |
120 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 121 | |
a3ef75ef | 122 | %{__make} install \ |
62383471 | 123 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 124 | |
cda605d9 MB |
125 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
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 | |
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 |