]>
Commit | Line | Data |
---|---|---|
cd8125f4 | 1 | Summary: The LessTif/Motif extension library |
d1a72c58 | 2 | Summary(pl.UTF-8): Biblioteka rozszerzeń do LessTifa/Motifa |
2050fc45 | 3 | Name: Xlt |
35688ac4 | 4 | Version: 13.0.13 |
3f6de406 | 5 | Release: 3 |
7660d975 | 6 | License: LGPL v2+ |
2050fc45 | 7 | Group: X11/Libraries |
687597d1 | 8 | Source0: http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz |
35688ac4 | 9 | # Source0-md5: 46b6259c7637d6e9b87520eb91b6ea51 |
7660d975 | 10 | Patch0: %{name}-format.patch |
ff23e5c6 | 11 | URL: http://xlt.sourceforge.net/ |
2050fc45 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
ff23e5c6 | 15 | BuildRequires: motif-devel >= 1.2 |
2050fc45 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
2050fc45 | 18 | %description |
cd8125f4 JB |
19 | The LessTif/Motif extension library. This consists of several widgets |
20 | and convience functions to make LessTif, or if you must Motif, | |
21 | programming more enjoyable. | |
2050fc45 | 22 | |
e746f258 JR |
23 | %description -l pl.UTF-8 |
24 | Biblioteka rozszerzeń do LessTifa/Motifa. Zawiera trochę widgetów i | |
25 | funkcji żeby nieco uprzyjemnić programowanie z użyciem LessTifa czy | |
cd8125f4 | 26 | Motifa. |
2050fc45 | 27 | |
28 | %package devel | |
29 | Summary: Xlt header files and development documentation | |
d1a72c58 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja Xlt |
2050fc45 | 31 | Group: X11/Development/Libraries |
f180f445 | 32 | Requires: %{name} = %{version}-%{release} |
504b39c1 | 33 | Requires: motif-devel >= 1.2 |
2050fc45 | 34 | |
35 | %description devel | |
36 | Xlt header files and development documentation. | |
37 | ||
e746f258 JR |
38 | %description devel -l pl.UTF-8 |
39 | Pliki nagłówkowe i dokumentacja programisty do Xlt. | |
2050fc45 | 40 | |
41 | %package static | |
42 | Summary: Xlt static library | |
d1a72c58 | 43 | Summary(pl.UTF-8): Biblioteka statyczna Xlt |
2050fc45 | 44 | Group: X11/Development/Libraries |
f180f445 | 45 | Requires: %{name}-devel = %{version}-%{release} |
2050fc45 | 46 | |
47 | %description static | |
48 | Xlt static library. | |
49 | ||
e746f258 | 50 | %description static -l pl.UTF-8 |
2050fc45 | 51 | Biblioteka statyczna Xlt. |
52 | ||
53 | %prep | |
687597d1 | 54 | %setup -q |
7660d975 | 55 | %patch0 -p1 |
f180f445 JB |
56 | |
57 | touch MaintainerMode.am | |
2050fc45 | 58 | |
59 | %build | |
3f7c0e54 | 60 | %{__libtoolize} |
f180f445 | 61 | %{__aclocal} -I . |
66358985 | 62 | %{__autoconf} |
f180f445 | 63 | %{__autoheader} |
66358985 | 64 | %{__automake} |
2050fc45 | 65 | %configure \ |
687597d1 | 66 | --enable-static |
2050fc45 | 67 | |
f180f445 | 68 | %{__make} |
ea8581dc | 69 | |
2050fc45 | 70 | %install |
71 | rm -rf $RPM_BUILD_ROOT | |
45d14be1 | 72 | install -d $RPM_BUILD_ROOT%{_aclocaldir} |
2050fc45 | 73 | |
74 | %{__make} install \ | |
687597d1 JB |
75 | DESTDIR=$RPM_BUILD_ROOT \ |
76 | mandir=%{_mandir} | |
2050fc45 | 77 | |
7660d975 JB |
78 | # packaged as %doc in -devel |
79 | %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/Xlt | |
80 | # packaged in motif | |
81 | %{__rm} $RPM_BUILD_ROOT%{_aclocaldir}/ac_find_motif.m4 | |
82 | ||
2050fc45 | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
317905db | 86 | %post -p /sbin/ldconfig |
45d14be1 JB |
87 | %postun -p /sbin/ldconfig |
88 | ||
2050fc45 | 89 | %files |
90 | %defattr(644,root,root,755) | |
7660d975 JB |
91 | %doc AUTHORS ChangeLog NEWS README |
92 | %attr(755,root,root) %{_libdir}/libXlt.so.*.*.* | |
93 | %attr(755,root,root) %ghost %{_libdir}/libXlt.so.0 | |
2050fc45 | 94 | |
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
687597d1 | 97 | %doc doc/*.{html,gif} |
2050fc45 | 98 | %attr(755,root,root) %{_libdir}/libXlt.so |
1e378efd | 99 | %{_libdir}/libXlt.la |
2050fc45 | 100 | %{_includedir}/Xlt |
101 | %{_aclocaldir}/ac_find_xlt.m4 | |
102 | %{_aclocaldir}/ac_find_xpm.m4 | |
7660d975 JB |
103 | %{_mandir}/man3/StrokeInstall.3* |
104 | %{_mandir}/man3/Strokes.3* | |
105 | %{_mandir}/man3/Xlt*.3* | |
2050fc45 | 106 | |
107 | %files static | |
108 | %defattr(644,root,root,755) | |
ff23e5c6 | 109 | %{_libdir}/libXlt.a |