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