]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
a8a41e68127e7e91d103ff7b0fc8bb5963b56b7c
[packages/Xlt.git] / Xlt.spec
1
2 %define srcname LessTifExtensions
3
4 Summary:        The LessTif extension library
5 Summary(pl):    Biblioteka rozszerzeñ do LessTifa
6 Name:           Xlt
7 Version:        9.0.9
8 Release:        2
9 License:        GPL
10 Group:          X11/Libraries
11 Source0:        ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
12 # Source0-md5:  4cc27c1137cf2539c97a071ec72cb16d
13 BuildRequires:  lesstif-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 The LessTif extension library. This consists of several widgets and
24 convience functions to make LessTif, or if you must Motif, programming
25 more enjoyable.
26
27 %description -l pl
28 Biblioteka rozszerzeñ do LessTifa. Zawiera trochê widgetów i funkcji
29 ¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy Motifa.
30
31 %package devel
32 Summary:        Xlt header files and development documentation
33 Summary(pl):    Pliki nag³ówkowe i dokumentacja Xlt
34 Group:          X11/Development/Libraries
35 Requires:       %{name} = %{version}
36
37 %description devel
38 Xlt header files and development documentation.
39
40 %description devel -l pl
41 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
42
43 %package static
44 Summary:        Xlt static library
45 Summary(pl):    Biblioteka statyczna Xlt
46 Group:          X11/Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Xlt static library.
51
52 %description static -l pl
53 Biblioteka statyczna Xlt.
54
55 %prep
56 %setup -q -n %{srcname}-%{version}
57
58 %build
59 rm -f missing
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --enable-static \
66         --enable-shared \
67         --enable-build-12 \
68         --enable-default-12 \
69         --disable-build-20 \
70         --disable-default-20
71
72 %{__make} X_EXTRA_LIBS="-lXm"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_aclocaldir}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
82 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog README
93 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libXlt.so
98 %{_libdir}/libXlt.la
99 %{_includedir}/Xlt
100 %{_aclocaldir}/ac_find_xlt.m4
101 %{_aclocaldir}/ac_find_xpm.m4
102 %{_mandir}/man3/*
103
104 %files static
105 %defattr(644,root,root,755)
106 %attr(644,root,root) %{_libdir}/libXlt.a
This page took 0.022244 seconds and 2 git commands to generate.