]>
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 |
0d5f8e21 | 4 | Version: 3.0.1 |
cda605d9 | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
cda605d9 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.0/%{name}-%{version}.tar.bz2 |
0d5f8e21 | 9 | # Source0-md5: 21d03731080acdb039dddc1937396cbb |
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 | |
29 | BuildRequires: yelp-xsl >= 3.0.0 | |
30 | Requires(post,postun): desktop-file-utils | |
31 | Requires(post,postun): glib2 >= 1:2.26.0 | |
0af2e590 | 32 | Requires(post,postun): gtk-update-icon-cache |
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 |
be50cf17 | 39 | Requires: gnome-doc-utils >= 0.20.0 |
cda605d9 MB |
40 | Requires: gnome-icon-theme-symbolic |
41 | Requires: hicolor-icon-theme | |
42 | Requires: yelp-xsl >= 3.0.0 | |
c4285385 MB |
43 | # sr@Latn vs. sr@latin |
44 | Conflicts: glibc-misc < 6:2.7 | |
b624bdba | 45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
79f3a103 | 47 | %description |
cda605d9 MB |
48 | Yelp is the default help browser for the GNOME desktop. Yelp provides |
49 | a simple graphical interface for viewing DocBook, HTML, man, and info | |
50 | formatted documentation. | |
79f3a103 | 51 | |
234614fa | 52 | %description -l pl.UTF-8 |
cda605d9 MB |
53 | Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza |
54 | prosty graficzny interfejs do oglądania dokumentacji w formatach | |
55 | DocBook, HTML, man i info. | |
56 | ||
57 | %package libs | |
58 | Summary: yelp library | |
59 | Summary(pl.UTF-8): Biblioteka yelp | |
60 | Group: Libraries | |
61 | ||
62 | %description libs | |
63 | yelp library. | |
64 | ||
65 | %description libs -l pl.UTF-8 | |
66 | Biblioteka yelp. | |
67 | ||
68 | %package devel | |
69 | Summary: Header files for yelp library | |
70 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yelp | |
71 | Group: Development/Libraries | |
72 | Requires: %{name}-libs = %{version}-%{release} | |
73 | Requires: glib2-devel >= 1:2.28.0 | |
74 | Requires: gtk+3-devel >= 3.0.0 | |
75 | Requires: gtk-webkit3-devel >= 1.3.2 | |
76 | Requires: libxml2-devel >= 1:2.6.31 | |
77 | Requires: libxslt-devel >= 1.1.22 | |
78 | ||
79 | %description devel | |
80 | Header files for yelp library. | |
81 | ||
82 | %description devel -l pl.UTF-8 | |
83 | Pliki nagłówkowe biblioteki yelp. | |
84 | ||
85 | %package apidocs | |
86 | Summary: yelp library API documentation | |
87 | Summary(pl.UTF-8): Dokumentacja API biblioteki yelp | |
88 | Group: Documentation | |
89 | Requires: gtk-doc-common | |
90 | ||
91 | %description apidocs | |
92 | yelp library API documentation. | |
93 | ||
94 | %description apidocs -l pl.UTF-8 | |
95 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 96 | |
79f3a103 | 97 | %prep |
ccb9f7bf | 98 | %setup -q |
e48cadd2 | 99 | |
79f3a103 | 100 | %build |
2f8b9adc | 101 | %{__intltoolize} |
badb51e0 | 102 | %{__libtoolize} |
ac42d540 | 103 | %{__aclocal} -I m4 |
c274dea6 | 104 | %{__autoconf} |
2f8b9adc | 105 | %{__autoheader} |
c274dea6 | 106 | %{__automake} |
cda605d9 MB |
107 | %configure \ |
108 | --disable-silent-rules \ | |
109 | --disable-schemas-compile \ | |
110 | --disable-static \ | |
111 | --enable-gtk-doc \ | |
112 | --with-html-dir=%{_gtkdocdir} | |
113 | %{__make} | |
79f3a103 | 114 | |
115 | %install | |
116 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 117 | |
a3ef75ef | 118 | %{__make} install \ |
62383471 | 119 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 120 | |
cda605d9 MB |
121 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
122 | ||
2f8b9adc | 123 | %find_lang %{name} |
79f3a103 | 124 | |
125 | %clean | |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
a7dc9ceb | 128 | %post |
ab26d82c | 129 | %update_icon_cache hicolor |
cda605d9 MB |
130 | %update_desktop_database_post |
131 | %glib_compile_schemas | |
a7dc9ceb | 132 | |
5fcb1653 | 133 | %postun |
ab26d82c | 134 | %update_icon_cache hicolor |
cda605d9 MB |
135 | %update_desktop_database_postun |
136 | %glib_compile_schemas | |
137 | ||
138 | %post libs -p /sbin/ldconfig | |
139 | %postun libs -p /sbin/ldconfig | |
5fcb1653 | 140 | |
79f3a103 | 141 | %files -f %{name}.lang |
b624bdba | 142 | %defattr(644,root,root,755) |
c274dea6 | 143 | %doc README ChangeLog NEWS TODO AUTHORS |
2f8b9adc PZ |
144 | %attr(755,root,root) %{_bindir}/gnome-help |
145 | %attr(755,root,root) %{_bindir}/yelp | |
cda605d9 | 146 | %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml |
2f8b9adc PZ |
147 | %{_datadir}/yelp |
148 | %{_desktopdir}/yelp.desktop | |
5fcb1653 | 149 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
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 | |
155 | ||
156 | %files devel | |
157 | %defattr(644,root,root,755) | |
158 | %attr(755,root,root) %{_libdir}/libyelp.so | |
159 | %{_includedir}/libyelp | |
160 | ||
161 | %files apidocs | |
162 | %defattr(644,root,root,755) | |
163 | %{_gtkdocdir}/libyelp |