]> git.pld-linux.org Git - packages/libast.git/blame - libast.spec
- rm redundant BR XFree86-devel (imlib2-devel deps)
[packages/libast.git] / libast.spec
CommitLineData
a45480d9 1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
eff546a7 5Summary: Library of Assorted Spiffy Things
c4b79b97 6Summary(pl.UTF-8): Biblioteka AST (Assorted Spiffy Things)
eff546a7 7Name: libast
54bba3b7 8Version: 0.7
36435152 9Release: 1
eff546a7 10License: BSD
7ea8d2bf 11Group: Libraries
eff546a7 12Source0: http://www.eterm.org/download/%{name}-%{version}.tar.gz
54bba3b7 13# Source0-md5: a9ec3b2da317f35869316e6d9571d296
eff546a7 14URL: http://www.eterm.org/
24f2f12c 15BuildRequires: automake
7ea8d2bf 16BuildRequires: imlib2-devel
b7c4c47e 17BuildRequires: pcre-devel
eff546a7 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21LibAST is the Library of Assorted Spiffy Things. It contains various
22handy routines and drop-in substitutes for some good-but-non-portable
23functions. It currently has a built-in memory tracking subsystem as
24well as some debugging aids and other similar tools.
25
634b6d04
JR
26%description -l pl.UTF-8
27LibAST to biblioteka Assorted Spiffy Things. Zawiera różne podręczne
28procedury i zastępniki niektórych dobrych, ale nie przenośnych
29funkcji. Aktualnie ma wbudowany system śledzenia pamięci, trochę
30pomocy odpluskwiających i parę podobnych narzędzi.
5be25387 31
eff546a7 32%package devel
5be25387 33Summary: Library of Assorted Spiffy Things header files
c4b79b97 34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AST
eff546a7 35Group: X11/Development/Libraries
b7c4c47e 36Requires: %{name} = %{version}-%{release}
37e463b9
JB
37Requires: imlib2-devel
38Requires: pcre-devel
eff546a7 39
40%description devel
41Header files and development documentation for libast.
42
634b6d04
JR
43%description devel -l pl.UTF-8
44Pliki nagłówkowe i dokumentacja programisty do libast.
5be25387 45
eff546a7 46%package static
47Summary: Libast static libraries
c4b79b97 48Summary(pl.UTF-8): Biblioteki statyczne libast
eff546a7 49Group: X11/Development/Libraries
b7c4c47e 50Requires: %{name}-devel = %{version}-%{release}
eff546a7 51
52%description static
53Libast static libraries.
54
634b6d04 55%description static -l pl.UTF-8
eff546a7 56Biblioteki statyczne libast.
57
eff546a7 58%prep
59%setup -q
60
61%build
54bba3b7 62cp -f /usr/share/automake/config.sub .
a45480d9 63%configure \
64 %{!?with_static_libs:--disable-static}
eff546a7 65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
7ea8d2bf 69
6240a39d
JB
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
eff546a7 72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
6240a39d
JB
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
eff546a7 79%files
80%defattr(644,root,root,755)
6240a39d 81%doc ChangeLog README
54bba3b7 82%attr(755,root,root) %{_libdir}/libast.so.*.*.*
eff546a7 83
84%files devel
85%defattr(644,root,root,755)
54bba3b7
JB
86%doc DESIGN
87%attr(755,root,root) %{_bindir}/libast-config
88%attr(755,root,root) %{_libdir}/libast.so
89%{_libdir}/libast.la
90%{_includedir}/libast*
91%{_aclocaldir}/libast.m4
eff546a7 92
a45480d9 93%if %{with static_libs}
eff546a7 94%files static
95%defattr(644,root,root,755)
54bba3b7 96%{_libdir}/libast.a
a45480d9 97%endif
This page took 0.805007 seconds and 4 git commands to generate.