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