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