scribus/scribus.spec

221 lines
8.0 KiB
RPMSpec
Raw Normal View History

Name: scribus
Version: 1.5.8
Release: 1mamba
Summary: Open Source Page Layout program
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.scribus.net
Source0: http://downloads.sourceforge.net/project/scribus/scribus-devel/%{version}/scribus-%{version}.tar.xz
Source1: scribus-mimelnk
Patch0: scribus-1.5.6.1-podofo-0.9.7.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libcdr-devel
BuildRequires: libcups-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreehand-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libharfbuzz-devel
BuildRequires: libhunspell-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libmspub-devel
BuildRequires: libosg-devel
BuildRequires: libpagemaker-devel
BuildRequires: libpng-devel
BuildRequires: libpodofo-devel
BuildRequires: libpoppler-devel
BuildRequires: libpython39-devel
BuildRequires: libqxp-devel
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libvisio-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzmf-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: libosg-devel >= 3.6.5
BuildRequires: libpodofo-devel >= 0.9.7-1mamba
BuildRequires: perl >= 5.8.0
%description
Scribus is an desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively for Linux.
While the goals of the program are for ease of use and simple easy to understand tools, Scribus offers support for professional publishing features, such as CMYK colors, easy PDF creation, Encapsulated Postscript import/export and creation of color separations.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
Scribus is an desktop open source page layout program with the aim of producing commerical grade output in PDF and Postscript, primarily, though not exclusively for Linux.
While the goals of the program are for ease of use and simple easy to understand tools, Scribus offers support for professional publishing features, such as CMYK colors, easy PDF creation, Encapsulated Postscript import/export and creation of color separations.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%cmake_kde5 \
\
%ifarch x86_64 aarch64
-DLIB_SUFFIX=64
%endif
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#install -D -m0644 scribus.desktop \
# %{buildroot}%{_kdedatadir}/applnk/Office/scribus.desktop
#install -D %{S:1} \
# %{buildroot}%{_kdedatadir}/mimelnk/application/x-scribus.desktop
#for f in AUTHORS BUILDING COPYING ChangeLog ChangeLogSVN INSTALL\
# NEWS PACKAGING README README.MacOSX TODO; do
# rm -f %{buildroot}%{_kdedatadir}/doc/scribus-%{version}/$f
#done
#sed -i "s|scribusicon|%{_kdedatadir}/pixmaps/scribusicon.png|" \
# %{buildroot}%{_kdedatadir}/applnk/Office/scribus.desktop \
# %{buildroot}%{_kdedatadir}/mimelnk/application/x-scribus.desktop
#install -d -m0755 %{buildroot}%{_mandir}
#mv %{buildroot}%{_kde4_sharedir}/man/* %{buildroot}%{_mandir}
#rm -f %{buildroot}%{_kde5_sharedir}/doc/scribus/PACKAGING
#rm -f %{buildroot}%{_kde5_sharedir}/doc/scribus/README.MacOSX
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_kde5_bindir}/scribus
%dir %{_libdir}/scribus
%dir %{_libdir}/scribus/plugins
%{_libdir}/scribus/plugins/*.so
%dir %{_libdir}/scribus/plugins/gettext
%{_libdir}/scribus/plugins/gettext/*.so
%{_libdir}/scribus/scribus.css
%dir %{_kde5_sharedir}/scribus
%{_kde5_sharedir}/scribus/*
%{_datadir}/applications/scribus.desktop
%{_kde5_sharedir}/mime/packages/scribus.xml
%{_datadir}/metainfo/scribus.appdata.xml
%{_datadir}/icons/hicolor/*/apps/scribus.png
%lang(de) %{_kde5_sharedir}/doc/scribus/de/*
%lang(en) %{_kde5_sharedir}/doc/scribus/en/*
%lang(it) %{_kde5_sharedir}/doc/scribus/it/*
%lang(ru) %{_kde5_sharedir}/doc/scribus/ru/*
%{_kde5_sharedir}/doc/scribus/AUTHORS
%{_kde5_sharedir}/doc/scribus/COPYING
%{_kde5_sharedir}/doc/scribus/ChangeLog
%{_kde5_sharedir}/doc/scribus/LINKS
%{_kde5_sharedir}/doc/scribus/README
%{_kde5_sharedir}/doc/scribus/TRANSLATION
%{_mandir}/man1/scribus.1*
%lang(de) %{_mandir}/de/man1/scribus.1*
%lang(pl) %{_mandir}/pl/man1/scribus.1*
%doc AUTHORS COPYING
%changelog
* Mon Jan 24 2022 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
- automatic version update by autodist
* Wed Jun 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7-2mamba
- rebuilt with OpenSceneGraph 3.6.5
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6.1-2mamba
- rebuilt by autoport with build requirements: libpodofo-devel>=0.9.7-1mamba
* Tue Nov 17 2020 Automatic Build System <autodist@mambasoft.it> 1.5.6.1-1mamba
- automatic version update by autodist
* Sun Oct 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.5-1mamba
- update to 1.5.5
* Mon Oct 30 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-3mamba
- rebuilt by autoport with build requirements: libpodofo-devel>=0.9.5-1mamba
* Sat Jul 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-2mamba
- rebuilt by autoport with build requirements: libpodofo-devel>=0.9.4-1mamba
* Sat Jan 31 2015 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
- automatic version update by autodist
* Sat Sep 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
- rebuilt with podofo 0.9.3
* Fri Jun 06 2014 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Sat Aug 03 2013 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic version update by autodist
* Sat Jan 26 2013 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* Tue May 15 2012 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Thu Feb 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.9-1mamba
- update to 1.3.9
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 1.3.4-2mamba
- automatic rebuild by autodist
* Thu Sep 25 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
- automatic update to 1.3.4 by autodist
* Tue Mar 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3.11-1mamba
- update to 1.3.4
* Mon Jul 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.5-1qilnx
- update to version 1.2.5 by autospec
* Thu Apr 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.4.1-1qilnx
- update to version 1.2.4.1 by autospec
- new package and summary description as recommended in the PACKAGING file
- full documentation is now in the main tarball
* Thu Sep 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.3-1qilnx
- update to version 1.2.3 by autospec
- specfile fixes
* Mon Jan 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.1-1qilnx
- update to version 1.2.1 by autospec
* Fri Oct 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-3qilnx
- moved *.so links from devel to main package (should fix pdf export problem)
* Tue Aug 31 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-2qilnx
- added extra document templates (scribus-temp-all-1.2.tar.bz2 package)
* Tue Aug 31 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
- update to version 1.2 by autospec
* Tue Jul 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.7-1qilnx
- update to 1.1.7
* Fri Mar 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.1.5-1qilnx
- initial build