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