]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
420f986b2338a5ad20fbd579d813dd3f77e2708b
[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.20.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/yelp/3.20/%{name}-%{version}.tar.xz
9 # Source0-md5:  9ab298e19ed3f295b27519989faec6f0
10 URL:            http://projects.gnome.org/yelp/
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  bzip2-devel
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.38.0
16 BuildRequires:  gnome-common >= 2.24.0
17 BuildRequires:  gtk+3-devel >= 3.13.3
18 BuildRequires:  gtk-doc >= 1.13
19 BuildRequires:  gtk-webkit4-devel >= 2.8.0
20 BuildRequires:  intltool >= 0.41.0
21 BuildRequires:  itstool >= 1.2.0
22 BuildRequires:  libtool >= 2:2.2.6
23 BuildRequires:  libxml2-devel >= 1:2.6.31
24 BuildRequires:  libxslt-devel >= 1.1.22
25 BuildRequires:  lzma-devel >= 4.9
26 BuildRequires:  pkgconfig >= 1:0.15.0
27 BuildRequires:  rpmbuild(macros) >= 1.601
28 BuildRequires:  sqlite3-devel
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 BuildRequires:  yelp-xsl >= 3.12.0
32 Requires(post,postun):  desktop-file-utils
33 Requires(post,postun):  glib2 >= 1:2.28.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.12.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.8.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 %{__intltoolize}
104 %{__libtoolize}
105 %{__aclocal} -I m4
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 %configure \
110         --disable-silent-rules \
111         --disable-schemas-compile \
112         --disable-static \
113         --disable-gtk-doc \
114         --with-html-dir=%{_gtkdocdir}
115 %{__make}
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119
120 %{__make} install \
121         DESTDIR=$RPM_BUILD_ROOT
122
123 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
124 %{__rm} $RPM_BUILD_ROOT%{_libdir}/yelp/web-extensions/*.la
125
126 %find_lang %{name}
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %post
132 %update_desktop_database_post
133 %glib_compile_schemas
134
135 %postun
136 %update_desktop_database_postun
137 %glib_compile_schemas
138
139 %post libs -p /sbin/ldconfig
140 %postun libs -p /sbin/ldconfig
141
142 %files -f %{name}.lang
143 %defattr(644,root,root,755)
144 %doc README ChangeLog NEWS TODO AUTHORS
145 %attr(755,root,root) %{_bindir}/gnome-help
146 %attr(755,root,root) %{_bindir}/yelp
147 %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
148 %{_datadir}/yelp
149 %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml
150 %{_desktopdir}/yelp.desktop
151
152 %files libs
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
155 %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
156 %dir %{_libdir}/yelp
157 %dir %{_libdir}/yelp/web-extensions
158 %attr(755,root,root) %{_libdir}/yelp/web-extensions/libyelpwebextension.so
159
160 %files devel
161 %defattr(644,root,root,755)
162 %attr(755,root,root) %{_libdir}/libyelp.so
163 %{_includedir}/libyelp
164
165 %files apidocs
166 %defattr(644,root,root,755)
167 %{_gtkdocdir}/libyelp
This page took 0.080758 seconds and 2 git commands to generate.