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