]> git.pld-linux.org Git - packages/xorg-lib-libXdamage.git/blob - xorg-lib-libXdamage.spec
a9e1b48604951867072a75f437eeb6accb553bf1
[packages/xorg-lib-libXdamage.git] / xorg-lib-libXdamage.spec
1 Summary:        X Damage extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzenia X Damage
3 Name:           xorg-lib-libXdamage
4 Version:        1.1.5
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libXdamage-%{version}.tar.bz2
9 # Source0-md5:  e3f554267a7a04b042dc1f6352bd6d99
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  xorg-lib-libX11-devel
16 BuildRequires:  xorg-lib-libXfixes-devel
17 BuildRequires:  xorg-proto-damageproto-devel >= 1.1
18 BuildRequires:  xorg-proto-fixesproto-devel
19 BuildRequires:  xorg-proto-xextproto-devel
20 BuildRequires:  xorg-util-util-macros >= 1.8
21 Obsoletes:      libXdamage
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 X Damage extension library.
26
27 %description -l pl.UTF-8
28 Biblioteka rozszerzenia X Damage.
29
30 %package devel
31 Summary:        Header files for libXdamage library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXdamage
33 Group:          X11/Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       xorg-lib-libX11-devel
36 Requires:       xorg-lib-libXfixes-devel
37 Requires:       xorg-proto-damageproto-devel >= 1.1
38 Obsoletes:      libXdamage-devel
39
40 %description devel
41 X Damage extension library.
42
43 This package contains the header files needed to develop programs that
44 use libXdamage.
45
46 %description devel -l pl.UTF-8
47 Biblioteka rozszerzenia X Damage.
48
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libXdamage.
51
52 %package static
53 Summary:        Static libXdamage library
54 Summary(pl.UTF-8):      Biblioteka statyczna libXdamage
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57 Obsoletes:      libXdamage-static
58
59 %description static
60 X Damage extension library.
61
62 This package contains the static libXdamage library.
63
64 %description static -l pl.UTF-8
65 Biblioteka rozszerzenia X Damage.
66
67 Pakiet zawiera statyczną bibliotekę libXdamage.
68
69 %prep
70 %setup -q -n libXdamage-%{version}
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT \
86         pkgconfigdir=%{_pkgconfigdir}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS COPYING ChangeLog NEWS README.md
97 %attr(755,root,root) %{_libdir}/libXdamage.so.*.*.*
98 %attr(755,root,root) %ghost %{_libdir}/libXdamage.so.1
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/libXdamage.so
103 %{_libdir}/libXdamage.la
104 %{_includedir}/X11/extensions/Xdamage.h
105 %{_pkgconfigdir}/xdamage.pc
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libXdamage.a
This page took 0.083375 seconds and 2 git commands to generate.