resetting manifest requested domain to floor
[platform/upstream/libXcursor.git] / packaging / libXcursor.spec
1 Name:           libXcursor
2 Version:        1.1.13
3 Release:        1
4 License:        MIT
5 Summary:        Cursor management library
6 Url:            http://www.x.org
7 Group:          Graphics/X Window System
8 Source:         %{name}-%{version}.tar.bz2
9 Source1001:     libXcursor.manifest
10
11 BuildRequires:  pkgconfig(x11)
12 BuildRequires:  pkgconfig(xfixes)
13 BuildRequires:  pkgconfig(xorg-macros)
14 BuildRequires:  pkgconfig(xproto)
15 BuildRequires:  pkgconfig(xrender)
16
17 %description
18 This is  a simple library designed to help locate and load cursors.
19 Cursors can be loaded from files or memory. A library of common cursors
20 exists which map to the standard X cursor names.Cursors can exist in
21 several sizes and the library automatically picks the best size.
22
23 %package devel
24 Summary:        Development files for %{name}
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}
27
28 %description devel
29 libXcursor development package.
30
31 %prep
32 %setup -q
33 cp %{SOURCE1001} .
34
35 %build
36 %configure --disable-static
37 make %{?_smp_mflags}
38
39 %install
40 %make_install
41 mkdir -p %{buildroot}%{_datadir}/icons/default
42
43 %remove_docs
44
45
46 %post -p /sbin/ldconfig
47
48 %postun -p /sbin/ldconfig
49
50 %files
51 %manifest %{name}.manifest
52 %defattr(-,root,root,-)
53 %license COPYING
54 %{_libdir}/libXcursor.so.1
55 %{_libdir}/libXcursor.so.1.0.2
56 %dir %{_datadir}/icons/default
57
58 %files devel
59 %manifest %{name}.manifest
60 %defattr(-,root,root,-)
61 %dir %{_includedir}/X11/Xcursor
62 %{_includedir}/X11/Xcursor/Xcursor.h
63 %{_libdir}/libXcursor.so
64 %{_libdir}/pkgconfig/xcursor.pc