]> git.pld-linux.org Git - packages/pslib.git/blame - pslib.spec
- BR: docbook-to-man, docbook-utils, gettext-devel, glib2-devel, intltool
[packages/pslib.git] / pslib.spec
CommitLineData
e15c59e6 1Summary: The pslib C-library to create PostScript on the fly
df67e5e4 2Summary(pl.UTF-8): Biblioteka do generowania w locie plików PostScript
e15c59e6 3Name: pslib
ddc744e3 4Version: 0.4.1
81f683db 5Release: 2
e15c59e6 6License: LGPL
9c0a9421 7Group: Libraries
58649c81 8Source0: http://dl.sourceforge.net/pslib/%{name}-%{version}.tar.gz
ddc744e3
AM
9# Source0-md5: 78693d87d89fe7fcc7bc45e54b7b64a6
10Patch0: %{name}-getline.patch
e15c59e6 11URL: http://pslib.sourceforge.net/
b504356f 12BuildRequires: autoconf
13BuildRequires: automake
2fd68bb4 14BuildRequires: docbook-to-man
15BuildRequires: docbook-utils
16BuildRequires: gettext-devel
17BuildRequires: glib2-devel
18BuildRequires: intltool
ddc744e3 19BuildRequires: libtool
e15c59e6 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23pslib is a C-library to create PostScript files on the fly. It offers
9c0a9421 24many drawing primitives, inclusion of PNG and EPS images and a very
e15c59e6 25sophisticated text rendering including hyphenation, kerning and
26ligatures. It can read external Type1 fonts and embed them into the
27output file. It supports pdfmarks which makes it in combination with
28ghostscript's pdfwriter an alternative for libraries creating PDF.
29
8ed6c149
JR
30%description -l pl.UTF-8
31pslib to biblioteka C do tworzenia w locie plików PostScript. Oferuje
32rysowanie wielu prymitywów, włączanie obrazów PNG i EPS oraz bardzo
33wyszukane renderowanie tekstu włącznie z przenoszeniem, kerningiem i
34ligaturami. Może wczytywać zewnętrzne fonty Type1 i osadzać je w pliku
35wyjściowym. Obsługuje pdfmarki, co, w połączeniu z pdfwriterem z
36ghostscripta, czyni ją alternatywą dla bibliotek tworzących PDF.
9c0a9421 37
e15c59e6 38%package devel
39Summary: Development files for the pslib C-library to create PostScript
df67e5e4 40Summary(pl.UTF-8): Pliki programistyczne dla biblioteki C pslib tworzącej PostScript
e15c59e6 41Group: Development/Libraries
9c0a9421 42Requires: %{name} = %{version}-%{release}
e15c59e6 43
44%description devel
45Development files for the pslib C-library to create PostScript files
9c0a9421
JB
46on the fly.
47
8ed6c149
JR
48%description devel -l pl.UTF-8
49Pliki programistyczne dla biblioteki C pslib tworzącej w locie pliki
9c0a9421 50PostScript.
e15c59e6 51
52%package static
9c0a9421 53Summary: Static pslib library
df67e5e4 54Summary(pl.UTF-8): Statyczna biblioteka pslib
e15c59e6 55Group: Development/Libraries
9c0a9421 56Requires: %{name} = %{version}-%{release}
e15c59e6 57
58%description static
9c0a9421 59Static pslib library.
e15c59e6 60
8ed6c149 61%description static -l pl.UTF-8
9c0a9421 62Statyczna biblioteka pslib.
e15c59e6 63
64%prep
65%setup -q
ddc744e3 66%patch0 -p1
e15c59e6 67
68%build
ddc744e3 69%{__libtoolize}
e15c59e6 70%{__aclocal}
71%{__autoconf}
72%{__automake}
73%configure
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
9c0a9421
JB
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
e15c59e6 81
82%find_lang %{name}
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
9c0a9421
JB
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
e15c59e6 89
90%files -f %{name}.lang
91%defattr(644,root,root,755)
92%doc AUTHORS ChangeLog NEWS README
93%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
94%{_datadir}/%{name}
95
96%files devel
97%defattr(644,root,root,755)
9c0a9421 98%attr(755,root,root) %{_libdir}/lib*.so
e15c59e6 99%{_libdir}/lib*.la
100%{_includedir}/*
101%{_pkgconfigdir}/*
ddc744e3 102%{_mandir}/man3/*.3*
e15c59e6 103
104%files static
105%defattr(644,root,root,755)
106%{_libdir}/lib*.a
This page took 0.067087 seconds and 4 git commands to generate.