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