]> git.pld-linux.org Git - SPECS.git/blob - gdk-pixbuf2-xlib.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gdk-pixbuf2-xlib.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # API documentation
4
5 Summary:        Deprecated API for integrating GdkPixbuf with Xlib data types
6 Summary(pl.UTF-8):      Przestarzałe API do integracji GdkPixbuf z typami danych Xlib
7 Name:           gdk-pixbuf2-xlib
8 Version:        2.40.2
9 Release:        1
10 License:        LGPL v2+
11 Group:          X11/Libraries
12 Source0:        https://download.gnome.org/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-%{version}.tar.xz
13 # Source0-md5:  fbd57e867e039a8cf9164d145c0f0434
14 URL:            https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
15 BuildRequires:  docbook-dtd43-xml
16 BuildRequires:  docbook-style-xsl
17 BuildRequires:  gdk-pixbuf2-devel >= 2.39.2
18 BuildRequires:  glib2-devel >= 1:2.48.0
19 BuildRequires:  gtk-doc >= 1.20
20 BuildRequires:  libxslt-progs
21 BuildRequires:  meson >= 0.49.0
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.752
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xorg-lib-libX11-devel
27 BuildRequires:  xz
28 Requires:       gdk-pixbuf2 >= 2.42.0
29 Requires:       glib2 >= 1:2.48.0
30 Requires:       shared-mime-info
31 Suggests:       librsvg >= 2.31
32 Conflicts:      gtk+2 < 2:2.21.3-1
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 GdkPixbuf-Xlib contains the deprecated API for integrating GdkPixbuf
37 with Xlib data types. This library was originally shipped by
38 GdkPixbuf, and has since been moved out of the original repository.
39
40 No newly written code should ever use this library.
41
42 %description -l pl.UTF-8
43 Biblioteka GdkPixbuf-Xlib zawiera przestarzałe API do integracji
44 GdkPixbuf z typami danych Xlib. Pierwotnie była dostarczana wraz z
45 GdkPixbuf, ale później została usunięta z oryginalnego repozytorium.
46
47 Żaden nowy kod nie powinien używać tej biblioteki.
48
49 %package devel
50 Summary:        Header files for gdk-pixbuf-xlib library
51 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki gdk-pixbuf-xlib
52 Group:          X11/Development/Libraries
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       gdk-pixbuf2-devel >= 2.42.0
55 Requires:       glib2-devel >= 1:2.48.0
56 Requires:       xorg-lib-libX11-devel
57 Conflicts:      gtk+2-devel < 2:2.21.3-1
58
59 %description devel
60 Header files for gdk-pixbuf-xlib library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki gdk-pixbuf-xlib.
64
65 %package static
66 Summary:        Static gdk-pixbuf-xlib library
67 Summary(pl.UTF-8):      Biblioteka statyczna gdk-pixbuf-xlib
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static gdk-pixbuf-xlib library.
73
74 %description static -l pl.UTF-8
75 Biblioteka statyczna gdk-pixbuf-xlib.
76
77 %package apidocs
78 Summary:        gdk-pixbuf-xlib API documentation
79 Summary(pl.UTF-8):      Dokumentacja API biblioteki gdk-pixbuf-xlib
80 Group:          Documentation
81 Conflicts:      gdk-pixbuf2-apidocs < 2.42
82 Conflicts:      gtk+2-apidocs < 2:2.21.3-1
83 BuildArch:      noarch
84
85 %description apidocs
86 API documentation for gdk-pixbuf-xlib library.
87
88 %description apidocs -l pl.UTF-8
89 Dokumentacja API biblioteki gdk-pixbuf-xlib.
90
91 %prep
92 %setup -q -n gdk-pixbuf-xlib-%{version}
93
94 %build
95 %meson build \
96         -Dgtk_doc=true
97
98 %ninja_build -C build
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %ninja_install -j1 -C build
104
105 %{!?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}}
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files
114 %defattr(644,root,root,755)
115 %doc README.md
116 %attr(755,root,root) %{_libdir}/libgdk_pixbuf_xlib-2.0.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libgdk_pixbuf_xlib-2.0.so.0
118
119 %files devel
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/libgdk_pixbuf_xlib-2.0.so
122 %{_includedir}/gdk-pixbuf-2.0/gdk-pixbuf-xlib
123 %{_pkgconfigdir}/gdk-pixbuf-xlib-2.0.pc
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libgdk_pixbuf_xlib-2.0.a
128
129 %if %{with apidocs}
130 %files apidocs
131 %defattr(644,root,root,755)
132 %{_gtkdocdir}/gdk-pixbuf-xlib
133 %endif
This page took 0.27139 seconds and 3 git commands to generate.