]>
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 |
2fda718e | 4 | Version: 3.4.1 |
cda605d9 | 5 | Release: 1 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
3cf108e1 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/3.4/%{name}-%{version}.tar.xz |
2fda718e | 9 | # Source0-md5: aefc85f4e116ae90d6ea1bc346d955bd |
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 | |
2fda718e | 20 | BuildRequires: gtk-webkit3-devel >= 1.4.0 |
cda605d9 | 21 | BuildRequires: intltool >= 0.41.0 |
3cf108e1 | 22 | BuildRequires: itstool |
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 | |
2fda718e | 32 | BuildRequires: yelp-xsl >= 3.4.1 |
cda605d9 MB |
33 | Requires(post,postun): desktop-file-utils |
34 | Requires(post,postun): glib2 >= 1:2.26.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 |
2fda718e | 43 | Requires: yelp-xsl >= 3.4.1 |
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 | |
75 | Requires: gtk+3-devel >= 3.0.0 | |
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 | |
91 | ||
92 | %description apidocs | |
93 | yelp library API documentation. | |
94 | ||
95 | %description apidocs -l pl.UTF-8 | |
96 | Dokumentacja API biblioteki yelp. | |
2a50b763 | 97 | |
79f3a103 | 98 | %prep |
ccb9f7bf | 99 | %setup -q |
e48cadd2 | 100 | |
79f3a103 | 101 | %build |
2f8b9adc | 102 | %{__intltoolize} |
badb51e0 | 103 | %{__libtoolize} |
ac42d540 | 104 | %{__aclocal} -I m4 |
c274dea6 | 105 | %{__autoconf} |
2f8b9adc | 106 | %{__autoheader} |
c274dea6 | 107 | %{__automake} |
cda605d9 MB |
108 | %configure \ |
109 | --disable-silent-rules \ | |
110 | --disable-schemas-compile \ | |
111 | --disable-static \ | |
d70f9358 | 112 | --disable-gtk-doc \ |
cda605d9 MB |
113 | --with-html-dir=%{_gtkdocdir} |
114 | %{__make} | |
79f3a103 | 115 | |
116 | %install | |
117 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 118 | |
a3ef75ef | 119 | %{__make} install \ |
62383471 | 120 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 121 | |
cda605d9 MB |
122 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
123 | ||
2f8b9adc | 124 | %find_lang %{name} |
79f3a103 | 125 | |
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
a7dc9ceb | 129 | %post |
cda605d9 MB |
130 | %update_desktop_database_post |
131 | %glib_compile_schemas | |
a7dc9ceb | 132 | |
5fcb1653 | 133 | %postun |
cda605d9 MB |
134 | %update_desktop_database_postun |
135 | %glib_compile_schemas | |
136 | ||
137 | %post libs -p /sbin/ldconfig | |
138 | %postun libs -p /sbin/ldconfig | |
5fcb1653 | 139 | |
79f3a103 | 140 | %files -f %{name}.lang |
b624bdba | 141 | %defattr(644,root,root,755) |
c274dea6 | 142 | %doc README ChangeLog NEWS TODO AUTHORS |
2f8b9adc PZ |
143 | %attr(755,root,root) %{_bindir}/gnome-help |
144 | %attr(755,root,root) %{_bindir}/yelp | |
cda605d9 | 145 | %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml |
2f8b9adc | 146 | %{_datadir}/yelp |
3cf108e1 | 147 | %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml |
2f8b9adc | 148 | %{_desktopdir}/yelp.desktop |
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 | |
154 | ||
155 | %files devel | |
156 | %defattr(644,root,root,755) | |
157 | %attr(755,root,root) %{_libdir}/libyelp.so | |
158 | %{_includedir}/libyelp | |
159 | ||
160 | %files apidocs | |
161 | %defattr(644,root,root,755) | |
162 | %{_gtkdocdir}/libyelp |