]> git.pld-linux.org Git - packages/poppler0.61.git/commitdiff
- License is GPL (not LGPL) - see README
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 4 Mar 2005 21:33:51 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added BRs/Rs

Changed files:
    poppler.spec -> 1.4

poppler.spec

index 3e97ac31fda50c4c27fdf3e96b03a1cb83be9e6d..6999b719914f5e5001ae77ec70fa52b06ab82d98 100644 (file)
@@ -1,13 +1,23 @@
+#
+# Conditional build:
+%bcond_with    cairo   # enable Cairo backend
+#
 Summary:       PDF rendering library
 Summary(pl):   Biblioteka renderuj±ca PDF
 Name:          poppler
 Version:       0.1.1
 Release:       0.1
-License:       LGPL
+License:       GPL
 Group:         Libraries
 Source0:       http://poppler.freedesktop.org/%{name}-%{version}.tar.gz
 # Source0-md5: d10982c93a1ccee79a14bb277f94990a
 URL:           http://poppler.freedesktop.org/
+%{?with_cairo:BuildRequires:   cairo-devel >= 0.3.0}
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel >= 2.0
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
+%{?with_cairo:Requires:        cairo >= 0.3.0}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,6 +33,10 @@ Summary:     Poppler header files
 Summary(pl):   Pliki nag³ówkowe biblioteki Poppler
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+%{?with_cairo:Requires:        cairo-devel >= 0.3.0}
+Requires:      fontconfig-devel
+Requires:      freetype-devel >= 2.0
+Requires:      libstdc++-devel
 
 %description devel
 Header files for the Poppler library.
@@ -47,7 +61,7 @@ Statyczne biblioteki Poppler.
 
 %build
 %configure \
-       --disable-cairo-output
+       %{!?with_cairo:--disable-cairo-output}
 %{__make}
 
 %install
This page took 0.040947 seconds and 4 git commands to generate.