]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- updated to 41.2
[packages/yelp.git] / yelp.spec
1 Summary:        A system documentation reader from the GNOME project
2 Summary(pl.UTF-8):      Czytnik dokumentacji z projektu GNOME
3 Name:           yelp
4 Version:        41.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        https://download.gnome.org/sources/yelp/41/%{name}-%{version}.tar.xz
9 # Source0-md5:  0e9ae34e19519e81213fa7ce8115a948
10 URL:            https://wiki.gnome.org/Apps/Yelp
11 BuildRequires:  appstream-glib-devel
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake >= 1:1.11.2
14 BuildRequires:  bzip2-devel
15 BuildRequires:  gettext-tools >= 0.19.8
16 BuildRequires:  glib2-devel >= 1:2.67.4
17 BuildRequires:  gtk+3-devel >= 3.13.3
18 BuildRequires:  gtk-doc >= 1.13
19 # defaults to -4.1 (soup3)
20 BuildRequires:  gtk-webkit4-devel >= 2.20.0
21 BuildRequires:  itstool >= 1.2.0
22 BuildRequires:  libtool >= 2:2.2.6
23 BuildRequires:  libxml2-devel >= 1:2.6.31
24 BuildRequires:  libxslt-devel >= 1.1.22
25 BuildRequires:  pkgconfig >= 1:0.15.0
26 BuildRequires:  rpm-build >= 4.6
27 BuildRequires:  rpmbuild(macros) >= 1.752
28 BuildRequires:  sqlite3-devel >= 3
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 BuildRequires:  xz-devel >= 1:4.9
32 BuildRequires:  yelp-xsl >= 41.0
33 Requires(post,postun):  desktop-file-utils
34 Requires(post,postun):  glib2 >= 1:2.67.4
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
40 Requires:       docbook-dtd45-xml
41 Requires:       docbook-style-xsl-nons >= 1.55.0
42 Requires:       yelp-xsl >= 41.0
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Yelp is the default help browser for the GNOME desktop. Yelp provides
47 a simple graphical interface for viewing DocBook, HTML, man, and info
48 formatted documentation.
49
50 %description -l pl.UTF-8
51 Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza
52 prosty graficzny interfejs do oglądania dokumentacji w formatach
53 DocBook, HTML, man i info.
54
55 %package libs
56 Summary:        yelp library
57 Summary(pl.UTF-8):      Biblioteka yelp
58 Group:          Libraries
59 Requires:       glib2 >= 1:2.67.4
60 Requires:       gtk+3 >= 3.13.3
61 Requires:       gtk-webkit4 >= 2.20.0
62 Requires:       libxml2 >= 1:2.6.31
63 Requires:       libxslt >= 1.1.22
64
65 %description libs
66 yelp library.
67
68 %description libs -l pl.UTF-8
69 Biblioteka yelp.
70
71 %package devel
72 Summary:        Header files for yelp library
73 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yelp
74 Group:          Development/Libraries
75 Requires:       %{name}-libs = %{version}-%{release}
76 Requires:       glib2-devel >= 1:2.67.4
77 Requires:       gtk+3-devel >= 3.13.3
78 Requires:       gtk-webkit4-devel >= 2.20.0
79 Requires:       libxml2-devel >= 1:2.6.31
80 Requires:       libxslt-devel >= 1.1.22
81
82 %description devel
83 Header files for yelp library.
84
85 %description devel -l pl.UTF-8
86 Pliki nagłówkowe biblioteki yelp.
87
88 %package apidocs
89 Summary:        yelp library API documentation
90 Summary(pl.UTF-8):      Dokumentacja API biblioteki yelp
91 Group:          Documentation
92 Requires:       gtk-doc-common
93 BuildArch:      noarch
94
95 %description apidocs
96 yelp library API documentation.
97
98 %description apidocs -l pl.UTF-8
99 Dokumentacja API biblioteki yelp.
100
101 %prep
102 %setup -q
103
104 %build
105 %{__libtoolize}
106 %{__aclocal} -I m4
107 %{__autoconf}
108 %{__autoheader}
109 %{__automake}
110 %configure \
111         --disable-silent-rules \
112         --disable-schemas-compile \
113         --disable-static \
114         --disable-gtk-doc \
115         --with-html-dir=%{_gtkdocdir} \
116         --with-webkit2gtk-4-0
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121
122 %{__make} install \
123         DESTDIR=$RPM_BUILD_ROOT
124
125 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
126 %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la
127
128 %find_lang %{name}
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post
134 %update_desktop_database_post
135 %glib_compile_schemas
136
137 %postun
138 %update_desktop_database_postun
139 %glib_compile_schemas
140
141 %post libs -p /sbin/ldconfig
142 %postun libs -p /sbin/ldconfig
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS NEWS README TODO
147 %attr(755,root,root) %{_bindir}/gnome-help
148 %attr(755,root,root) %{_bindir}/yelp
149 %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
150 %{_datadir}/metainfo/yelp.appdata.xml
151 %{_datadir}/yelp
152 %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
153 %{_desktopdir}/yelp.desktop
154 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Yelp.svg
155 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg
156
157 %files libs
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
160 %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
161 %dir %{_libdir}/yelp
162 %dir %{_libdir}/yelp/web-extensions
163 %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so
164
165 %files devel
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/libyelp.so
168 %{_includedir}/libyelp
169
170 %files apidocs
171 %defattr(644,root,root,755)
172 %{_gtkdocdir}/libyelp
This page took 0.047174 seconds and 3 git commands to generate.