]>
Commit | Line | Data |
---|---|---|
28c2013c JB |
1 | # |
2 | # Conditional build: | |
767aa508 | 3 | %bcond_with cairo # build with cairo support |
65b6f844 | 4 | %bcond_without cups # build without CUPS support |
28c2013c | 5 | # |
4da34d5c | 6 | # TODO: |
7 | # - get the docs right, I just don't know of any better way | |
8 | # | |
c7dadba1 | 9 | |
602a2888 | 10 | Summary: Scribus - Open Source Desktop Publishing |
11 | Summary(pl): Scribus - DTP dla Wolnego Oprogramowania | |
713772d9 | 12 | Name: scribus |
c7f02697 | 13 | Version: 1.3.3.3 |
a01bbbed | 14 | Release: 3 |
80c5b9f1 | 15 | License: GPL v2 |
67c32cbe | 16 | Group: X11/Applications/Publishing |
2942a7ce | 17 | Source0: http://dl.sourceforge.net/scribus/%{name}-%{version}.tar.bz2 |
c7f02697 | 18 | # Source0-md5: cde9a4342697a69de60b017f59d32488 |
602a2888 | 19 | Source1: %{name}.desktop |
20 | Source2: %{name}icon.png | |
7a70ce42 | 21 | Patch0: %{name}-python.patch |
22 | Patch1: %{name}-standard-font-paths.patch | |
23 | Patch2: %{name}-module-fixes.patch | |
24 | Patch3: %{name}-nolibs.patch | |
a403755d | 25 | URL: http://www.scribus.net/ |
809b7a6c JB |
26 | BuildRequires: autoconf |
27 | BuildRequires: automake | |
767aa508 | 28 | %{?with_cairo:BuildRequires: cairo-devel} |
11cd77a7 | 29 | %if %{with cups} |
30 | BuildRequires: cups-devel | |
31 | %else | |
32 | BuildConflicts: cups-devel | |
33 | %endif | |
b49fb994 | 34 | BuildRequires: freetype-devel >= 2.1.0 |
1440920d | 35 | BuildRequires: lcms-devel >= 1.09 |
00a821e5 | 36 | %{!?with_cairo:BuildRequires: libart_lgpl-devel >= 2.3.14} |
713772d9 | 37 | BuildRequires: libjpeg-devel |
4a24a55c | 38 | BuildRequires: libpng-devel |
713772d9 | 39 | BuildRequires: libtiff-devel |
1ae741fd | 40 | BuildRequires: libxml2-devel |
4d90d975 | 41 | BuildRequires: openssl-devel |
b895bb3d | 42 | BuildRequires: python-devel |
c7dadba1 | 43 | BuildRequires: python-modules |
00a821e5 | 44 | BuildRequires: rpm-pythonprov |
3af57ae9 | 45 | #BuildRequires: qt-devel >= 3.0.5 |
46 | BuildRequires: QtCore-devel | |
713772d9 | 47 | BuildRequires: zlib-devel |
a01bbbed | 48 | Requires: python-PIL |
1c58f170 | 49 | Requires: python-tkinter |
a26ffc6a | 50 | Obsoletes: scribus-svg |
b895bb3d | 51 | Obsoletes: scribus-scripting |
c7dadba1 | 52 | Obsoletes: scribus-short-words |
8e2b55ee | 53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
713772d9 | 54 | |
49babc8e | 55 | %define specflags_ia32 -fomit-frame-pointer |
42a08130 | 56 | %define _ulibdir %{_prefix}/lib |
f4305d96 | 57 | |
713772d9 | 58 | %description |
602a2888 | 59 | Scribus is an open source desktop page layout program with the aim of |
60 | producing commerical grade output in PDF and Postscript, primarily, | |
61 | though not exclusively for Linux(R). | |
5e506b22 | 62 | |
713772d9 | 63 | %description -l pl |
602a2888 | 64 |