]> git.pld-linux.org Git - packages/libspectre.git/blob - libspectre.spec
- release 4 (by relup.sh)
[packages/libspectre.git] / libspectre.spec
1 Summary:        A library for rendering PostScript documents
2 Summary(pl.UTF-8):      Biblioteka do renderowania dokumentów postscriptowych
3 Name:           libspectre
4 Version:        0.2.7
5 Release:        4
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  8f759c0e6cd88d68fc8149130fcbc3d3
10 URL:            http://libspectre.freedesktop.org/
11 BuildRequires:  autoconf >= 2.59
12 BuildRequires:  automake >= 1:1.7
13 BuildRequires:  ghostscript-devel >= 8.62
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig
16 Requires:       ghostscript >= 8.62
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
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
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}
33 Requires:       ghostscript-devel >= 8.61-2
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 \
63         --disable-silent-rules \
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)
81 %doc AUTHORS NEWS README TODO
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
This page took 0.145397 seconds and 3 git commands to generate.