/[packages]/cauldron/libxdamage/current/SPECS/libxdamage.spec
ViewVC logotype

Contents of /cauldron/libxdamage/current/SPECS/libxdamage.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 397153 - (show annotations) (download)
Fri Feb 8 22:00:31 2013 UTC (7 years, 8 months ago) by luigiwalser
File size: 2110 byte(s)
remove obsolete pre script
1 %define major 1
2 %define libname %mklibname xdamage %{major}
3 %define develname %mklibname xdamage -d
4 %define staticdevelname %mklibname xdamage -d -s
5
6 Name: libxdamage
7 Summary: X Damage Library
8 Version: 1.1.4
9 Release: %mkrel 3
10 Group: Development/X11
11 License: MIT
12 URL: http://xorg.freedesktop.org
13 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXdamage-%{version}.tar.bz2
14
15 BuildRequires: libx11-devel >= 1.0.0
16 BuildRequires: libxfixes-devel >= 3.0.1.2
17 BuildRequires: x11-proto-devel >= 1.2.0
18 BuildRequires: x11-util-macros >= 1.0.1
19
20 %description
21 X Damage Library.
22
23 #-----------------------------------------------------------
24
25 %package -n %{libname}
26 Summary: X Damage Library
27 Group: Development/X11
28 Conflicts: libxorg-x11 < 7.0
29 Provides: %{name} = %{version}
30
31 %description -n %{libname}
32 X Damage Library.
33
34 %files -n %{libname}
35 %{_libdir}/libXdamage.so.%{major}*
36
37 #-----------------------------------------------------------
38
39 %package -n %{develname}
40 Summary: Development files for %{name}
41 Group: Development/X11
42 Requires: %{libname} = %{version}
43 Requires: libxfixes-devel >= 3.0.1.2
44 Requires: x11-proto-devel >= 1.0.0
45 Provides: %{name}-devel = %{version}-%{release}
46
47 Conflicts: libxorg-x11-devel < 7.0
48 Obsoletes: %mklibname xdamage 1 -d
49
50 %description -n %{develname}
51 Development files for %{name}
52
53 %files -n %{develname}
54 %{_libdir}/libXdamage.so
55 %{_libdir}/pkgconfig/xdamage.pc
56 %{_includedir}/X11/extensions/Xdamage.h
57
58 #-----------------------------------------------------------
59
60 %package -n %{staticdevelname}
61 Summary: Static development files for %{name}
62 Group: Development/X11
63 Requires: %{develname} = %{version}
64 Provides: %{name}-static-devel = %{version}-%{release}
65
66 Conflicts: libxorg-x11-static-devel < 7.0
67 Obsoletes: %mklibname xdamage 1 -d -s
68
69 %description -n %{staticdevelname}
70 Static development files for %{name}.
71
72 %files -n %{staticdevelname}
73 %{_libdir}/libXdamage.a
74
75 #-----------------------------------------------------------
76
77 %prep
78 %setup -q -n libXdamage-%{version}
79
80 %build
81 %configure2_5x --enable-static
82 %make
83
84 %install
85 %makeinstall_std
86
87 rm -f %{buildroot}%{_libdir}/*.la

  ViewVC Help
Powered by ViewVC 1.1.28