]>
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 |
8e932e03 | 4 | Version: 3.0.4 |
cda605d9 | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
8e932e03 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.0/%{name}-%{version}.tar.xz |
9 | # Source0-md5: ccca1c2cafe88f49685d8077b02fb395 | |
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 |
2f8b9adc | 14 | BuildRequires: gettext-devel |
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 |
cda605d9 MB |
18 | BuildRequires: gtk+3-devel >= 3.0.0 |
19 | BuildRequires: gtk-doc >= 1.13 | |
20 | BuildRequires: gtk-webkit3-devel >= 1.3.2 | |
21 | BuildRequires: intltool >= 0.41.0 | |
22 | BuildRequires: libtool >= 2:2.2.6 | |
2f8b9adc | 23 | BuildRequires: libxml2-devel >= 1:2.6.31 |
62253846 | 24 | BuildRequires: libxslt-devel >= 1.1.22 |
cda605d9 | 25 | BuildRequires: lzma-devel |
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 | |
f409e852 | 31 | BuildRequires: yelp-xsl >= 3.0.1 |
cda605d9 MB |
32 | Requires(post,postun): desktop-file-utils |
33 | Requires(post,postun): glib2 >= 1:2.26.0 | |
0af2e590 | 34 | Requires(post,postun): gtk-update-icon-cache |
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 MB |
42 | Requires: gnome-icon-theme-symbolic |
43 | Requires: hicolor-icon-theme | |
f409e852 | 44 | Requires: yelp-xsl >= 3.0.1 |
c4285385 MB |
45 | # sr@Latn vs. sr@latin |
46 | Conflicts: glibc-misc < 6:2.7 | |
b624bdba | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
79f3a103 | 49 | %description |
cda605d9 MB |
50 | Yelp is the default help browser for the GNOME desktop. Yelp provides |
51 | a simple graphical interface for viewing DocBook, HTML, man, and info | |
52 | formatted documentation. | |
79f3a103 | 53 | |
234614fa | 54 | %description -l pl.UTF-8 |
cda605d9 MB |
55 | Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza |
56 | prosty graficzny interfejs do oglądania dokumentacji w formatach | |
57 | DocBook, HTML, man i info. | |
58 | ||
59 | %package libs | |
60 | Summary: yelp library | |
61 | Summary(pl.UTF-8): Biblioteka yelp | |
62 | Group: Libraries | |
63 | ||
64 | %description libs | |
65 | yelp library. | |
66 | ||
67 | %description libs -l pl.UTF-8 | |
68 | Biblioteka yelp. | |
69 | ||
70 | %package devel | |
71 | Summary: Header files for yelp library | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yelp | |
73 | Group: Development/Libraries | |
74 | Requires: %{name}-libs = %{version}-%{release} | |
75 | Requires: glib2-devel >= 1:2.28.0 | |
76 | Requires: gtk+3-devel >= 3.0.0 | |
77 | Requires: gtk-webkit3-devel >= 1.3.2 | |
78 | Requires: libxml2-devel >= 1:2.6.31 | |
79 | Requires: libxslt-devel >= 1.1.22 | |
80 | ||
81 | %description devel | |
82 | Header files for yelp library. | |
83 | ||
84 | %description devel -l pl.UTF-8 | |
85 | Pliki nagłówkowe biblioteki yelp. | |
86 | ||
87 | %package apidocs | |
88 | Summary: yelp library API documentation | |
89 | Summary(pl.UTF-8): Dokumentacja API biblioteki yelp | |
90 | Group: Documentation | |
91 | Requires: gtk-doc-common | |
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 \ | |
113 | --enable-gtk-doc \ | |
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 MB |
123 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
124 | ||
2f8b9adc | 125 | %find_lang %{name} |
79f3a103 | 126 | |
127 | %clean | |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
a7dc9ceb | 130 | %post |
ab26d82c | 131 | %update_icon_cache hicolor |
cda605d9 MB |
132 | %update_desktop_database_post |
133 | %glib_compile_schemas | |
a7dc9ceb | 134 | |
5fcb1653 | 135 | %postun |
ab26d82c | 136 | %update_icon_cache hicolor |
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 PZ |
149 | %{_datadir}/yelp |
150 | %{_desktopdir}/yelp.desktop | |
5fcb1653 | 151 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
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 |