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