]>
Commit | Line | Data |
---|---|---|
9a1fc300 MB |
1 | Summary: A library for rendering PostScript documents |
2 | Name: libspectre | |
9f96454f | 3 | Version: 0.2.3 |
9a1fc300 MB |
4 | Release: 1 |
5 | License: GPL v2+ | |
6 | Group: Libraries | |
7 | Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz | |
9f96454f | 8 | # Source0-md5: 9c5867e970d1bad5f80809bfdb4306c1 |
9a1fc300 MB |
9 | URL: http://libspectre.freedesktop.org/ |
10 | BuildRequires: autoconf >= 2.59 | |
11 | BuildRequires: automake >= 1:1.7 | |
9f96454f | 12 | BuildRequires: ghostscript-devel >= 8.62 |
9a1fc300 | 13 | BuildRequires: libtool |
61c28b15 | 14 | BuildRequires: pkgconfig |
9a1fc300 MB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Small library for rendering PostScript documents. It provides a | |
19 | convenient easy to use API for handling and rendering PostScript | |
20 | documents. | |
21 | ||
22 | %package devel | |
23 | Summary: Header files for libspectre library | |
24 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspectre | |
25 | Group: Development/Libraries | |
26 | Requires: %{name} = %{version}-%{release} | |
2ea6d209 | 27 | Requires: ghostscript-devel >= 8.61-2 |
9a1fc300 MB |
28 | |
29 | %description devel | |
30 | Header files for libspectre library. | |
31 | ||
32 | %description devel -l pl.UTF-8 | |
33 | Pliki nagłówkowe biblioteki libspectre. | |
34 | ||
35 | %package static | |
36 | Summary: Static libspectre library | |
37 | Summary(pl.UTF-8): Statyczna biblioteka libspectre | |
38 | Group: Development/Libraries | |
39 | Requires: %{name}-devel = %{version}-%{release} | |
40 | ||
41 | %description static | |
42 | Static libspectre library. | |
43 | ||
44 | %description static -l pl.UTF-8 | |
45 | Statyczna biblioteka libspectre. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
51 | %{__libtoolize} | |
52 | %{__aclocal} | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %configure \ | |
57 | --disable-test | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc AUTHORS ChangeLog NEWS README TODO | |
75 | %attr(755,root,root) %{_libdir}/libspectre.so.*.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libspectre.so.1 | |
77 | ||
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
80 | %attr(755,root,root) %{_libdir}/libspectre.so | |
81 | %{_libdir}/libspectre.la | |
82 | %{_includedir}/libspectre | |
83 | %{_pkgconfigdir}/libspectre.pc | |
84 | ||
85 | %files static | |
86 | %defattr(644,root,root,755) | |
87 | %{_libdir}/libspectre.a |