]> git.pld-linux.org Git - packages/Xlt.git/blame - Xlt.spec
- rebuild without libjpeg.la
[packages/Xlt.git] / Xlt.spec
CommitLineData
cd8125f4 1Summary: The LessTif/Motif extension library
d1a72c58 2Summary(pl.UTF-8): Biblioteka rozszerzeń do LessTifa/Motifa
2050fc45 3Name: Xlt
35688ac4 4Version: 13.0.13
3f6de406 5Release: 3
7660d975 6License: LGPL v2+
2050fc45 7Group: X11/Libraries
687597d1 8Source0: http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
35688ac4 9# Source0-md5: 46b6259c7637d6e9b87520eb91b6ea51
7660d975 10Patch0: %{name}-format.patch
ff23e5c6 11URL: http://xlt.sourceforge.net/
2050fc45 12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: libtool
ff23e5c6 15BuildRequires: motif-devel >= 1.2
2050fc45 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
2050fc45 18%description
cd8125f4
JB
19The LessTif/Motif extension library. This consists of several widgets
20and convience functions to make LessTif, or if you must Motif,
21programming more enjoyable.
2050fc45 22
e746f258
JR
23%description -l pl.UTF-8
24Biblioteka rozszerzeń do LessTifa/Motifa. Zawiera trochę widgetów i
25funkcji żeby nieco uprzyjemnić programowanie z użyciem LessTifa czy
cd8125f4 26Motifa.
2050fc45 27
28%package devel
29Summary: Xlt header files and development documentation
d1a72c58 30Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja Xlt
2050fc45 31Group: X11/Development/Libraries
f180f445 32Requires: %{name} = %{version}-%{release}
504b39c1 33Requires: motif-devel >= 1.2
2050fc45 34
35%description devel
36Xlt header files and development documentation.
37
e746f258
JR
38%description devel -l pl.UTF-8
39Pliki nagłówkowe i dokumentacja programisty do Xlt.
2050fc45 40
41%package static
42Summary: Xlt static library
d1a72c58 43Summary(pl.UTF-8): Biblioteka statyczna Xlt
2050fc45 44Group: X11/Development/Libraries
f180f445 45Requires: %{name}-devel = %{version}-%{release}
2050fc45 46
47%description static
48Xlt static library.
49
e746f258 50%description static -l pl.UTF-8
2050fc45 51Biblioteka statyczna Xlt.
52
53%prep
687597d1 54%setup -q
7660d975 55%patch0 -p1
f180f445
JB
56
57touch 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
71rm -rf $RPM_BUILD_ROOT
45d14be1 72install -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
84rm -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
This page took 0.085637 seconds and 4 git commands to generate.