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