]>
Commit | Line | Data |
---|---|---|
5cd30316 | 1 | # |
28c2013c | 2 | # Conditional build: |
767aa508 | 3 | %bcond_with cairo # build with cairo support |
65b6f844 | 4 | %bcond_without cups # build without CUPS support |
28c2013c | 5 | # |
602a2888 | 6 | Summary: Scribus - Open Source Desktop Publishing |
7 | Summary(pl): Scribus - DTP dla Wolnego Oprogramowania | |
713772d9 | 8 | Name: scribus |
09fc7120 | 9 | Version: 1.3.3.7 |
46d83971 | 10 | Release: 2 |
80c5b9f1 | 11 | License: GPL v2 |
67c32cbe | 12 | Group: X11/Applications/Publishing |
9be23bda | 13 | Source0: http://dl.sourceforge.net/scribus/%{name}-%{version}.tar.bz2 |
09fc7120 | 14 | # Source0-md5: 9d20ef9010d94b504f6c8cd6acd215ca |
602a2888 | 15 | Source1: %{name}.desktop |
7a70ce42 | 16 | Patch1: %{name}-standard-font-paths.patch |
46d83971 | 17 | Patch2: %{name}-version.patch |
a403755d | 18 | URL: http://www.scribus.net/ |
7d196615 | 19 | %{?with_cairo:BuildRequires: cairo-devel >= 1.2.0} |
20 | BuildRequires: cmake >= 2.4.5 | |
11cd77a7 | 21 | %if %{with cups} |
22 | BuildRequires: cups-devel | |
23 | %else | |
24 | BuildConflicts: cups-devel | |
25 | %endif | |
b49fb994 | 26 | BuildRequires: freetype-devel >= 2.1.0 |
1440920d | 27 | BuildRequires: lcms-devel >= 1.09 |
00a821e5 | 28 | %{!?with_cairo:BuildRequires: libart_lgpl-devel >= 2.3.14} |
713772d9 | 29 | BuildRequires: libjpeg-devel |
4a24a55c | 30 | BuildRequires: libpng-devel |
713772d9 | 31 | BuildRequires: libtiff-devel |
1ae741fd | 32 | BuildRequires: libxml2-devel |
4d90d975 | 33 | BuildRequires: openssl-devel |
4308c310 | 34 | BuildRequires: perl-base |
b895bb3d | 35 | BuildRequires: python-devel |
c7dadba1 | 36 | BuildRequires: python-modules |
4308c310 | 37 | BuildRequires: qt-devel >= 6:3.0.5 |
00a821e5 | 38 | BuildRequires: rpm-pythonprov |
6f654875 | 39 | BuildRequires: rpmbuild(macros) >= 1.293 |
4308c310 | 40 | BuildRequires: sed >= 4.0 |
713772d9 | 41 | BuildRequires: zlib-devel |
a01bbbed | 42 | Requires: python-PIL |
1c58f170 | 43 | Requires: python-tkinter |
b895bb3d | 44 | Obsoletes: scribus-scripting |
c7dadba1 | 45 | Obsoletes: scribus-short-words |
4308c310 | 46 | Obsoletes: scribus-svg |
8e2b55ee | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
713772d9 | 48 | |
49babc8e | 49 | %define specflags_ia32 -fomit-frame-pointer |
42a08130 | 50 | %define _ulibdir %{_prefix}/lib |
f4305d96 | 51 | |
713772d9 | 52 | %description |
602a2888 | 53 | Scribus is an open source desktop page layout program with the aim of |
54 | producing commerical grade output in PDF and Postscript, primarily, | |
55 | though not exclusively for Linux(R). | |
5e506b22 | 56 | |
713772d9 | 57 | %description -l pl |
602a2888 | 58 |