]>
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 |
1ae741fd | 10 | Version: 1.3.1 |
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 |
1ae741fd | 15 | # Source0-md5: ad36f7de1bba1229d143b93d2b6cd8e9 |
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 | |
1ae741fd | 22 | Patch4: %{name}-DESTDIR.patch |
a403755d | 23 | URL: http://www.scribus.net/ |
809b7a6c JB |
24 | BuildRequires: autoconf |
25 | BuildRequires: automake | |
767aa508 | 26 | %{?with_cairo:BuildRequires: cairo-devel} |
11cd77a7 | 27 | %if %{with cups} |
28 | BuildRequires: cups-devel | |
29 | %else | |
30 | BuildConflicts: cups-devel | |
31 | %endif | |
b49fb994 | 32 | BuildRequires: freetype-devel >= 2.1.0 |
1440920d | 33 | BuildRequires: lcms-devel >= 1.09 |
767aa508 | 34 | %{?without_cairo:BuildRequires: libart_lgpl-devel >= 2.3.14} |
713772d9 | 35 | BuildRequires: libjpeg-devel |
4a24a55c | 36 | BuildRequires: libpng-devel |
713772d9 | 37 | BuildRequires: libtiff-devel |
1ae741fd | 38 | BuildRequires: libxml2-devel |
4d90d975 | 39 | BuildRequires: openssl-devel |
b895bb3d | 40 | BuildRequires: python-devel |
c7dadba1 | 41 | BuildRequires: python-modules |
ad3c195f | 42 | BuildRequires: qt-devel >= 3.0.5 |
713772d9 | 43 | BuildRequires: zlib-devel |
94bc87f8 | 44 | Requires: python-Imaging |
1c58f170 | 45 | Requires: python-tkinter |
a26ffc6a | 46 | Obsoletes: scribus-svg |
b895bb3d | 47 | Obsoletes: scribus-scripting |
c7dadba1 | 48 | Obsoletes: scribus-short-words |
8e2b55ee | 49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
713772d9 | 50 | |
49babc8e | 51 | %define specflags_ia32 -fomit-frame-pointer |
42a08130 | 52 | %define _ulibdir %{_prefix}/lib |
f4305d96 | 53 | |
713772d9 | 54 | %description |
602a2888 | 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). | |
5e506b22 | 58 | |
713772d9 | 59 | %description -l pl |
602a2888 | 60 |