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