]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
d30f4047b0cde7425dc08049b3bc53bfd8cdd566
[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.34.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/yelp/3.34/%{name}-%{version}.tar.xz
9 # Source0-md5:  776e29bd16424c8712cbf340cfe6429b
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:       gnome-icon-theme-symbolic
41 Requires:       yelp-xsl >= 3.28.0
42 # sr@Latn vs. sr@latin
43 Conflicts:      glibc-misc < 6:2.7
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
61 %description libs
62 yelp library.
63
64 %description libs -l pl.UTF-8
65 Biblioteka yelp.
66
67 %package devel
68 Summary:        Header files for yelp library
69 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yelp
70 Group:          Development/Libraries
71 Requires:       %{name}-libs = %{version}-%{release}
72 Requires:       glib2-devel >= 1:2.38.0
73 Requires:       gtk+3-devel >= 3.13.3
74 Requires:       gtk-webkit4-devel >= 2.20.0
75 Requires:       libxml2-devel >= 1:2.6.31
76 Requires:       libxslt-devel >= 1.1.22
77
78 %description devel
79 Header files for yelp library.
80
81 %description devel -l pl.UTF-8
82 Pliki nagłówkowe biblioteki yelp.
83
84 %package apidocs
85 Summary:        yelp library API documentation
86 Summary(pl.UTF-8):      Dokumentacja API biblioteki yelp
87 Group:          Documentation
88 Requires:       gtk-doc-common
89 %if "%{_rpmversion}" >= "5"
90 BuildArch:      noarch
91 %endif
92
93 %description apidocs
94 yelp library API documentation.
95
96 %description apidocs -l pl.UTF-8
97 Dokumentacja API biblioteki yelp.
98
99 %prep
100 %setup -q
101
102 %build
103 %{__libtoolize}
104 %{__aclocal} -I m4
105 %{__autoconf}
106 %{__autoheader}
107 %{__automake}
108 %configure \
109         --disable-silent-rules \
110         --disable-schemas-compile \
111         --disable-static \
112         --disable-gtk-doc \
113         --with-html-dir=%{_gtkdocdir}
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121
122 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
123 %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la
124
125 %find_lang %{name}
126
127 %clean
128 rm -rf $RPM_BUILD_ROOT
129
130 %post
131 %update_desktop_database_post
132 %glib_compile_schemas
133
134 %postun
135 %update_desktop_database_postun
136 %glib_compile_schemas
137
138 %post libs -p /sbin/ldconfig
139 %postun libs -p /sbin/ldconfig
140
141 %files -f %{name}.lang
142 %defattr(644,root,root,755)
143 %doc AUTHORS ChangeLog NEWS README TODO
144 %attr(755,root,root) %{_bindir}/gnome-help
145 %attr(755,root,root) %{_bindir}/yelp
146 %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
147 %{_datadir}/metainfo/yelp.appdata.xml
148 %{_datadir}/yelp
149 %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
150 %{_desktopdir}/yelp.desktop
151 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Yelp.svg
152 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Yelp-symbolic.svg
153
154 %files libs
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
157 %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
158 %dir %{_libdir}/yelp
159 %dir %{_libdir}/yelp/web-extensions
160 %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so
161
162 %files devel
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_libdir}/libyelp.so
165 %{_includedir}/libyelp
166
167 %files apidocs
168 %defattr(644,root,root,755)
169 %{_gtkdocdir}/libyelp
This page took 0.076407 seconds and 3 git commands to generate.