0ba3f86100d59a0ce598d3a8f8d4c61c7ef5c846
[framework/uifw/xorg/lib/libice.git] / packaging / libICE.spec
1
2 Name:       libICE
3 Summary:    X.Org X11 libICE runtime library
4 Version:    1.0.7
5 Release:    0
6 Group:      System/Libraries
7 License:    MIT/X11
8 URL:        http://www.x.org
9 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  pkgconfig(xproto)
13 BuildRequires:  pkgconfig(xtrans)
14 BuildRequires:  pkgconfig(xorg-macros)
15
16
17 %description
18 The X.Org X11 ICE (Inter-Client Exchange) runtime library.
19
20
21 %package devel
22 Summary:    X.Org X11 libICE development package
23 Group:      System/Libraries
24 Requires:   %{name} = %{version}-%{release}
25 Requires:   xorg-x11-filesystem
26
27 %description devel
28 The X.Org X11 ICE (Inter-Client Exchange) development package.
29
30
31 %prep
32 %setup -q -n %{name}-%{version}
33
34
35 %build
36
37 %reconfigure --disable-static
38 make %{?jobs:-j%jobs}
39
40 %install
41 rm -rf %{buildroot}
42 %make_install
43
44
45
46
47 %post -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51
52
53
54
55
56
57 %files
58 %defattr(-,root,root,-)
59 %doc AUTHORS COPYING README ChangeLog
60 %{_libdir}/libICE.so.6
61 %{_libdir}/libICE.so.6.3.0
62 %exclude /usr/share/doc/libICE/ICElib.xml
63 %exclude /usr/share/doc/libICE/ice.xml
64
65
66 %files devel
67 %defattr(-,root,root,-)
68 %dir %{_includedir}/X11
69 %dir %{_includedir}/X11/ICE
70 %{_includedir}/X11/ICE/*.h
71 %{_libdir}/libICE.so
72 %{_libdir}/pkgconfig/ice.pc
73