]>
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 | ||
7 | Summary: Scribus - Open Source Desktop Publishing | |
8 | Summary(pl): Scribus - DTP dla Wolnego Oprogramowania | |
9 | Name: scribus | |
10 | Version: 1.3.3 | |
11 | Release: 1 | |
12 | License: GPL v2 | |
13 | Group: X11/Applications/Publishing | |
14 | Source0: http://www.scribus.org.uk/downloads/%{version}/%{name}-%{version}.tar.bz2 | |
15 | # Source0-md5: 3d1dc7f13573243569b18239149b4e6c | |
16 | Source1: %{name}.desktop | |
17 | Source2: %{name}icon.png | |
18 | Patch0: %{name}-python.patch | |
19 | Patch1: %{name}-standard-font-paths.patch | |
20 | Patch2: %{name}-module-fixes.patch | |
21 | Patch3: %{name}-nolibs.patch | |
22 | URL: http://www.scribus.net/ | |
23 | BuildRequires: autoconf | |
24 | BuildRequires: automake | |
25 | %{?with_cairo:BuildRequires: cairo-devel} | |
26 | %if %{with cups} | |
27 | BuildRequires: cups-devel | |
28 | %else | |
29 | BuildConflicts: cups-devel | |
30 | %endif | |
31 | BuildRequires: freetype-devel >= 2.1.0 | |
32 | BuildRequires: lcms-devel >= 1.09 | |
33 | %{!?with_cairo:BuildRequires: libart_lgpl-devel >= 2.3.14} | |
34 | BuildRequires: libjpeg-devel | |
35 | BuildRequires: libpng-devel | |
36 | BuildRequires: libtiff-devel | |
37 | BuildRequires: libxml2-devel | |
38 | BuildRequires: openssl-devel | |
39 | BuildRequires: python-devel | |
40 | BuildRequires: python-modules | |
41 | BuildRequires: rpm-pythonprov | |
42 | BuildRequires: qt-devel >= 3.0.5 | |
43 | BuildRequires: zlib-devel | |
44 | Requires: python-Imaging | |
45 | Requires: python-tkinter | |
46 | Obsoletes: scribus-svg | |
47 | Obsoletes: scribus-scripting | |
48 | Obsoletes: scribus-short-words | |
49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
50 | ||
51 | %define specflags_ia32 -fomit-frame-pointer | |
52 | %define _ulibdir %{_prefix}/lib | |
53 | ||
54 | %description | |
55 | Scribus is an open source desktop page layout program with the aim of | |
56 | producing commerical grade output in PDF and Postscript, primarily, | |
57 | though not exclusively for Linux(R). | |
58 | ||
59 | %description -l pl | |
60 |