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