]> git.pld-linux.org Git - packages/libspectre.git/blob - libspectre.spec
63f87ddba0b7ba9cb9b8aee4e42750ee5748238c
[packages/libspectre.git] / libspectre.spec
1 Summary:        A library for rendering PostScript documents
2 Name:           libspectre
3 Version:        0.2.3
4 Release:        1
5 License:        GPL v2+
6 Group:          Libraries
7 Source0:        http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
8 # Source0-md5:  9c5867e970d1bad5f80809bfdb4306c1
9 URL:            http://libspectre.freedesktop.org/
10 BuildRequires:  autoconf >= 2.59
11 BuildRequires:  automake >= 1:1.7
12 BuildRequires:  ghostscript-devel >= 8.62
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig
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}
27 Requires:       ghostscript-devel >= 8.61-2
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
This page took 0.061484 seconds and 2 git commands to generate.