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