SHA256
1
0
forked from pool/scribus

Accepting request 415946 from KDE:Extra

1

OBS-URL: https://build.opensuse.org/request/show/415946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/scribus?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2016-08-03 09:44:11 +00:00 committed by Git OBS Bridge
commit 8ea25d8b9d
3 changed files with 48 additions and 0 deletions

35
scribus.appdata.xml Normal file
View File

@ -0,0 +1,35 @@
<?xml version='1.0' encoding='UTF-8'?>
<component>
<id type="desktop">scribus.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Scribus Page Layout (Development)</name>
<project_license>GPL-2.0+</project_license>
<summary>Open Source Page Layout and Desktop Publishing (DTP)</summary>
<url type="homepage">http://www.scribus.net/</url>
<description>
<p>Scribus is a open source page layout program which
produces commercial grade output in PDF and Postscript, primarily,
though not exclusively, for Linux.</p>
<p>
While the goals of the program are ease of use and simple
easy-to-understand tools, Scribus support for professional
publishing features, such as CMYK and spot colors, easy PDF creation,
Encapsulated Postscript import and export and creation of color
separations.</p>
</description>
<screenshots>
<screenshot type="default">
<image height="708" width="1000">https://wiki.scribus.net/wiki/images/7/74/Help_rembrandt2.png</image>
<caption>Main Page</caption>
</screenshot>
<screenshot>
<image height="712" width="1000">https://wiki.scribus.net/wiki/images/6/6e/Help_rembrandt18.png</image>
<caption>Properties window</caption>
</screenshot>
<screenshot>
<image height="477" width="629">https://wiki.scribus.net/wiki/images/5/56/Help_rembrandt16.png</image>
<caption>Image effects tab</caption>
</screenshot>
</screenshots>
<update_contact>scribus-dev@lists.scribus.net</update_contact>
</component>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 28 16:16:26 UTC 2016 - badshah400@gmail.com
- Add scribus.appdata.xml file and install it to the appdata dir;
this makes scribus appear in appstores like GNOME Software and
KDE Discover.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 18 10:38:55 UTC 2016 - alarrosa@suse.com Fri Mar 18 10:38:55 UTC 2016 - alarrosa@suse.com

View File

@ -30,6 +30,7 @@ Source2: %{name}-icon32.png
Source3: %{name}-icon64.png Source3: %{name}-icon64.png
Source4: %{name}-icon128.png Source4: %{name}-icon128.png
Source5: %{name}-icon256.png Source5: %{name}-icon256.png
Source6: %{name}.appdata.xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: aspell BuildRequires: aspell
BuildRequires: aspell-devel BuildRequires: aspell-devel
@ -149,6 +150,9 @@ install -D -m 0644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{n
%suse_update_desktop_file -i %{buildroot}%{_datadir}/mimelnk/application/vnd.scribus.desktop Office WordProcessor %suse_update_desktop_file -i %{buildroot}%{_datadir}/mimelnk/application/vnd.scribus.desktop Office WordProcessor
%endif %endif
# INSTALL APPSTREAM METAINFO (SOURCE6)
install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
#update the mime database #update the mime database
%post %post
@ -187,6 +191,8 @@ fi
%dir %{_datadir}/mimelnk/application %dir %{_datadir}/mimelnk/application
%{_datadir}/mimelnk/application/vnd.scribus.desktop %{_datadir}/mimelnk/application/vnd.scribus.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/*/apps/%{name}.png
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)