Adrian Schröter
8ba574cff5
Submit gmic package to openSUSE:Factory via the graphics Devel package. Sidenote: While I will continue to build the full gmic binary in my home:garloff:Photography project (and use MMX,SSE on i386) for continuity reasons, I follow upstream to only build gmic the float type for openSUSE submission, covering probably 99% of the use cases ... This is controlled by a %define in the specfile, so I can keep the packages in sync otherwise at least for the time being. OBS-URL: https://build.opensuse.org/request/show/225522 OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=1
27 lines
908 B
Diff
27 lines
908 B
Diff
Index: gmic-1.5.8.4/src/Makefile
|
|
===================================================================
|
|
--- gmic-1.5.8.4.orig/src/Makefile
|
|
+++ gmic-1.5.8.4/src/Makefile
|
|
@@ -67,8 +67,10 @@ endif
|
|
ifeq ($(OSTYPE),msys)
|
|
EXE = .exe
|
|
endif
|
|
|
|
+DOCDIR = $(USR)/share/doc
|
|
+
|
|
#------------------------------------------------
|
|
# Set compilation flags for build customization.
|
|
#------------------------------------------------
|
|
|
|
@@ -436,9 +438,9 @@ uninstall:
|
|
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.5.8
|
|
# rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.5
|
|
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1
|
|
rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so
|
|
- rm -rf $(DESTDIR)$(USR)/share/doc/gmic/
|
|
+ rm -rf $(DESTDIR)$(DOCDIR)/gmic/
|
|
rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
|
|
rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
|
|
# rm -f $(DESTDIR)$(USR)/bin/zart
|
|
# rm -rf $(DESTDIR)$(USR)/share/zart/
|