forked from pool/ghostscript
Accepting request 146955 from home:jsmeix
Provide libijs that is needed by pdftoijs in cups-filters OBS-URL: https://build.opensuse.org/request/show/146955 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=25
This commit is contained in:
parent
277eaa6e1b
commit
d378086d0b
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 3 11:58:51 CET 2013 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Provide libijs (that is not done via "configure --with-ijs")
|
||||||
|
because libijs is needed by the pdftoijs filter in the
|
||||||
|
cups-filters package (see the README file in cups-filters).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
|
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
|
||||||
|
|
||||||
@ -5,14 +12,14 @@ Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
|
|||||||
* pdfwrite announcements:
|
* pdfwrite announcements:
|
||||||
pdfwrite now supports the creation of PDF/A-2 files.
|
pdfwrite now supports the creation of PDF/A-2 files.
|
||||||
For further details see the NEWS file.
|
For further details see the NEWS file.
|
||||||
* remove moribund dumphint tool, ssee History9.htm and
|
* removed moribund dumphint tool, see History9.htm and
|
||||||
http://bugs.ghostscript.com/show_bug.cgi?id=693223
|
http://bugs.ghostscript.com/show_bug.cgi?id=693223
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 24 10:44:57 UTC 2012 - idonmez@suse.com
|
Mon Sep 24 10:44:57 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
- Disable -Wl,--as-needed, see upstream bug report
|
- "export SUSE_ASNEEDED=0" disables -Wl,--as-needed linker flags,
|
||||||
http://bugs.ghostscript.com/show_bug.cgi?id=693100
|
see http://bugs.ghostscript.com/show_bug.cgi?id=693100
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 10 15:49:33 CEST 2012 - jsmeix@suse.de
|
Thu May 10 15:49:33 CEST 2012 - jsmeix@suse.de
|
||||||
|
@ -33,7 +33,7 @@ Release: 0
|
|||||||
# Source0...Source9 is for sources from upstream:
|
# Source0...Source9 is for sources from upstream:
|
||||||
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.06.tar.gz
|
# URL for Source0: http://downloads.ghostscript.com/public/ghostscript-9.06.tar.gz
|
||||||
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
# URL for MD5 checksums: http://downloads.ghostscript.com/public/MD5SUMS
|
||||||
# MD5 checksum for Source0: f7c6f0431ca8d44ee132a55d583212c1
|
# MD5 checksum for Source0: 153ddb0622cb155d2f600146f1e28d84
|
||||||
Source0: ghostscript-%{version}.tar.gz
|
Source0: ghostscript-%{version}.tar.gz
|
||||||
# Patch0...Patch9 is for patches from upstream:
|
# Patch0...Patch9 is for patches from upstream:
|
||||||
#
|
#
|
||||||
@ -109,7 +109,8 @@ Conflicts: ghostscript-library
|
|||||||
This package contains the development files for Minimal Ghostscript.
|
This package contains the development files for Minimal Ghostscript.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# Be quiet when unpacking using a directory name matching Source0:
|
# Be quiet when unpacking and
|
||||||
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
%setup -q -n ghostscript-%{version}
|
%setup -q -n ghostscript-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -178,11 +179,32 @@ export SUSE_ASNEEDED=0
|
|||||||
make
|
make
|
||||||
# Make libgs.so and two programs which use it, gsx and gsc:
|
# Make libgs.so and two programs which use it, gsx and gsc:
|
||||||
make so
|
make so
|
||||||
|
# Configure and make libijs (that is not done regardless --with-ijs above):
|
||||||
|
pushd ijs
|
||||||
|
./autogen.sh
|
||||||
|
./configure --prefix=%{_prefix} \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--datadir=%{_datadir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static
|
||||||
|
make
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
# Install libgs.so gsx gsc and some header files:
|
# Install libgs.so gsx gsc and some header files:
|
||||||
make soinstall DESTDIR=%{buildroot}
|
make soinstall DESTDIR=%{buildroot}
|
||||||
|
# Install libijs and its header files:
|
||||||
|
pushd ijs
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
popd
|
||||||
|
# Remove installed ijs example client and server and its .la file:
|
||||||
|
rm %{buildroot}%{_bindir}/ijs_client_example
|
||||||
|
rm %{buildroot}%{_bindir}/ijs_server_example
|
||||||
|
rm %{buildroot}%{_libdir}/libijs.la
|
||||||
# Install documentation which is not installed by default
|
# Install documentation which is not installed by default
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
|
||||||
# and fail intentionally as notification if something changed:
|
# and fail intentionally as notification if something changed:
|
||||||
@ -280,6 +302,7 @@ exit 0
|
|||||||
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
||||||
%doc %{_mandir}/man1/ps2ps.1.gz
|
%doc %{_mandir}/man1/ps2ps.1.gz
|
||||||
%doc %{_mandir}/man1/wftopfa.1.gz
|
%doc %{_mandir}/man1/wftopfa.1.gz
|
||||||
|
%doc %{_mandir}/man1/ijs-config.1.gz
|
||||||
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
||||||
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
||||||
%doc %{_mandir}/de/man1/font2c.1.gz
|
%doc %{_mandir}/de/man1/font2c.1.gz
|
||||||
@ -305,10 +328,15 @@ exit 0
|
|||||||
%{_datadir}/ghostscript/%{version}/Resource/
|
%{_datadir}/ghostscript/%{version}/Resource/
|
||||||
%{_libdir}/libgs.so.*
|
%{_libdir}/libgs.so.*
|
||||||
%{_libdir}/ghostscript/
|
%{_libdir}/ghostscript/
|
||||||
|
%{_libdir}/libijs-0.35.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/ghostscript/
|
%{_includedir}/ghostscript/
|
||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
|
%{_bindir}/ijs-config
|
||||||
|
%{_includedir}/ijs/
|
||||||
|
%{_libdir}/libijs.so
|
||||||
|
%{_libdir}/pkgconfig/ijs.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 3 11:58:51 CET 2013 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Provide libijs (that is not done via "configure --with-ijs")
|
||||||
|
because libijs is needed by the pdftoijs filter in the
|
||||||
|
cups-filters package (see the README file in cups-filters).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
|
Thu Sep 27 12:02:51 UTC 2012 - mmeister@suse.com
|
||||||
|
|
||||||
|
@ -223,8 +223,9 @@ Conflicts: ghostscript-mini-devel
|
|||||||
This package contains the development files for Ghostscript.
|
This package contains the development files for Ghostscript.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# Be quiet when unpacking:
|
# Be quiet when unpacking and
|
||||||
%setup -q
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
|
%setup -q -n ghostscript-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||||
@ -293,11 +294,32 @@ export SUSE_ASNEEDED=0
|
|||||||
make
|
make
|
||||||
# Make libgs.so and two programs which use it, gsx and gsc:
|
# Make libgs.so and two programs which use it, gsx and gsc:
|
||||||
make so
|
make so
|
||||||
|
# Configure and make libijs (that is not done regardless --with-ijs above):
|
||||||
|
pushd ijs
|
||||||
|
./autogen.sh
|
||||||
|
./configure --prefix=%{_prefix} \
|
||||||
|
--bindir=%{_bindir} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--datadir=%{_datadir} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--infodir=%{_infodir} \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static
|
||||||
|
make
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
# Install libgs.so gsx gsc and some header files:
|
# Install libgs.so gsx gsc and some header files:
|
||||||
make soinstall DESTDIR=%{buildroot}
|
make soinstall DESTDIR=%{buildroot}
|
||||||
|
# Install libijs and its header files:
|
||||||
|
pushd ijs
|
||||||
|
make install DESTDIR=%{buildroot}
|
||||||
|
popd
|
||||||
|
# Remove installed ijs example client and server and its .la file:
|
||||||
|
rm %{buildroot}%{_bindir}/ijs_client_example
|
||||||
|
rm %{buildroot}%{_bindir}/ijs_server_example
|
||||||
|
rm %{buildroot}%{_libdir}/libijs.la
|
||||||
# Install documentation which is not installed by default
|
# Install documentation which is not installed by default
|
||||||
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
|
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
|
||||||
# and fail intentionally as notification if something changed:
|
# and fail intentionally as notification if something changed:
|
||||||
@ -404,6 +426,7 @@ exit 0
|
|||||||
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
%doc %{_mandir}/man1/ps2pdfwr.1.gz
|
||||||
%doc %{_mandir}/man1/ps2ps.1.gz
|
%doc %{_mandir}/man1/ps2ps.1.gz
|
||||||
%doc %{_mandir}/man1/wftopfa.1.gz
|
%doc %{_mandir}/man1/wftopfa.1.gz
|
||||||
|
%doc %{_mandir}/man1/ijs-config.1.gz
|
||||||
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
%doc %{_mandir}/de/man1/dvipdf.1.gz
|
||||||
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
%doc %{_mandir}/de/man1/eps2eps.1.gz
|
||||||
%doc %{_mandir}/de/man1/font2c.1.gz
|
%doc %{_mandir}/de/man1/font2c.1.gz
|
||||||
@ -429,6 +452,7 @@ exit 0
|
|||||||
%{_datadir}/ghostscript/%{version}/Resource/
|
%{_datadir}/ghostscript/%{version}/Resource/
|
||||||
%{_libdir}/libgs.so.*
|
%{_libdir}/libgs.so.*
|
||||||
%{_libdir}/ghostscript/
|
%{_libdir}/ghostscript/
|
||||||
|
%{_libdir}/libijs-0.35.so
|
||||||
%exclude %{_libdir}/ghostscript/%{version}/X11.so
|
%exclude %{_libdir}/ghostscript/%{version}/X11.so
|
||||||
|
|
||||||
%files x11
|
%files x11
|
||||||
@ -439,5 +463,9 @@ exit 0
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/ghostscript/
|
%{_includedir}/ghostscript/
|
||||||
%{_libdir}/libgs.so
|
%{_libdir}/libgs.so
|
||||||
|
%{_bindir}/ijs-config
|
||||||
|
%{_includedir}/ijs/
|
||||||
|
%{_libdir}/libijs.so
|
||||||
|
%{_libdir}/pkgconfig/ijs.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user