libreoffice-icon-theme-papirus
No description set
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:kill_it/libreoffice-icon-theme-papirus && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
20170228.tar.gz | 0003733276 3.56 MB | |
libreoffice-icon-theme-papirus.changes | 0000000223 223 Bytes | |
libreoffice-icon-theme-papirus.spec | 0000002261 2.21 KB |
Latest Revision
Konstantin Voinov (kill_it)
committed
(revision 6)
more sane spec -This line, and those below, will be ignored-- D 20170119.tar.gz A 20170228.tar.gz M libreoffice-icon-theme-papirus.spec D makefile.patch Diff for working copy: . Index: libreoffice-icon-theme-papirus.spec =================================================================== --- libreoffice-icon-theme-papirus.spec (revision 5) +++ libreoffice-icon-theme-papirus.spec (working copy) @@ -17,27 +17,42 @@ Name: libreoffice-icon-theme-papirus -Version: 20170119 +Version: 20170228 Release: 0 Summary: Papirus theme for Libreoffice License: GPL-3.0 Group: System/GUI/Other Url: https://github.com/PapirusDevelopmentTeam/papirus-libreoffice-theme Source0: %{version}.tar.gz -Patch0: makefile.patch BuildRequires: automake +Requires: libreoffice-share-linker BuildRoot: %{_tmppath}/%{name}-%{version}-build %description +Papirus theme for LibreOffice is available in three variants: + +ePapirus +Papirus +Ppirus Dark %prep %setup -n papirus-libreoffice-theme-%{version} -%patch0 %install make DESTDIR=%{buildroot} install +%posttrans +rpm -ql %{name} > %{_datadir}/libreoffice/%{name}_list.txt || true +if [ -f %{_datadir}/libreoffice/%{name}_list.txt ] ; then + %{_bindir}/libreoffice-share-linker %{_datadir}/libreoffice/%{name}_list.txt || true +fi + +%postun +if [ "$1" = "0" -a -f %{_datadir}/libreoffice/%{name}_list.txt -a -x %{_bindir}/libreoffice-share-linker ]; then + %{_bindir}/libreoffice-share-linker --unlink %{_datadir}/libreoffice/%{name}_list.txt || true + rm -f %{_datadir}/libreoffice/%{name}_list.txt 2> /dev/null || true +fi %files @@ -46,17 +61,10 @@ %dir %{_datadir}/libreoffice %dir %{_datadir}/libreoffice/share %dir %{_datadir}/libreoffice/share/config -%dir %{_libdir}/libreoffice -%dir %{_libdir}/libreoffice/share -%dir %{_libdir}/libreoffice/share/config %{_datadir}/libreoffice/share/config/images_papirus.zip %{_datadir}/libreoffice/share/config/images_epapirus.zip %{_datadir}/libreoffice/share/config/images_papirus_dark.zip -%{_libdir}/libreoffice/share/config/images_epapirus.zip -%{_libdir}/libreoffice/share/config/images_papirus.zip -%{_libdir}/libreoffice/share/config/images_papirus_dark.zip - %changelog Index: 20170228.tar.gz =================================================================== Binary file '20170228.tar.gz' added. Index: 20170119.tar.gz =================================================================== Binary file '20170119.tar.gz' deleted. Index: makefile.patch =================================================================== --- makefile.patch (revision 5) +++ makefile.patch (working copy) @@ -1,42 +0,0 @@ ---- Makefile.orig 2017-01-19 20:19:31.000000000 +1000 -+++ Makefile 2017-01-22 13:09:31.079882637 +1000 -@@ -1,3 +1,10 @@ -+libdir.x86_64 = /usr/lib64 -+libdir.i686 = /usr/lib -+ -+MACHINE := $(shell uname -m) -+ -+libdir = $(libdir.$(MACHINE)) -+ - all: - - install: -@@ -7,21 +14,21 @@ - images_epapirus.zip \ - images_papirus_dark.zip \ - $(DESTDIR)/usr/share/libreoffice/share/config -- mkdir -p $(DESTDIR)/usr/lib/libreoffice/share/config -+ mkdir -p $(DESTDIR)$(libdir)/libreoffice/share/config - ln -sf ../../../../share/libreoffice/share/config/images_papirus.zip \ -- $(DESTDIR)/usr/lib/libreoffice/share/config/images_papirus.zip -+ $(DESTDIR)$(libdir)/libreoffice/share/config/images_papirus.zip - ln -sf ../../../../share/libreoffice/share/config/images_epapirus.zip \ -- $(DESTDIR)/usr/lib/libreoffice/share/config/images_epapirus.zip -+ $(DESTDIR)$(libdir)/libreoffice/share/config/images_epapirus.zip - ln -sf ../../../../share/libreoffice/share/config/images_papirus_dark.zip \ -- $(DESTDIR)/usr/lib/libreoffice/share/config/images_papirus_dark.zip -+ $(DESTDIR)$(libdir)/libreoffice/share/config/images_papirus_dark.zip - - uninstall: - -rm -f $(DESTDIR)/usr/share/libreoffice/share/config/images_papirus.zip - -rm -f $(DESTDIR)/usr/share/libreoffice/share/config/images_epapirus.zip - -rm -f $(DESTDIR)/usr/share/libreoffice/share/config/images_papirus_dark.zip -- -rm -f $(DESTDIR)/usr/lib/libreoffice/share/config/images_papirus.zip -- -rm -f $(DESTDIR)/usr/lib/libreoffice/share/config/images_epapirus.zip -- -rm -f $(DESTDIR)/usr/lib/libreoffice/share/config/images_papirus_dark.zip -+ -rm -f $(DESTDIR)$(libdir)/libreoffice/share/config/images_papirus.zip -+ -rm -f $(DESTDIR)$(libdir)/libreoffice/share/config/images_epapirus.zip -+ -rm -f $(DESTDIR)$(libdir)/libreoffice/share/config/images_papirus_dark.zip - - _get_version: - $(eval VERSION := $(shell git show -s --format=%cd --date=format:%Y%m%d HEAD))
Comments 0