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