diff options
Diffstat (limited to 'packaging/libijs.spec')
-rw-r--r-- | packaging/libijs.spec | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/packaging/libijs.spec b/packaging/libijs.spec new file mode 100644 index 0000000..35d52b5 --- /dev/null +++ b/packaging/libijs.spec @@ -0,0 +1,112 @@ +# +# spec file for package lcms (Version 1.19) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: libijs +License: MIT License +Group: System/Libraries +Summary: IJS raster image transport protocol library +Version: 0.35 +Release: 1 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: %{name}-%{version}.tar.gz +#BuildRequires: docbook, docbook-utils + +%description + IJS raster image transport protocol: shared library + IJS is, first and foremost, a protocol for transmission of raster page + images. This snapshot provides a reference implementation of the protocol, + the design of which is still in flux. When the protocol specification is + published, it will be authoritative. Applications should feel free to link + against the library provided in this package, adapt that code for their own + needs, or roll a completely new implementation. + . + IJS is a client-server protocol, used to write ghostscript drivers. The + drivers are separate programs. The client and server communicate via pipes, + though shared memory may be used additionally in the future. Currently IJS + is used by the hpijs and ijsgimpprint drivers. + . + Code for both the client- and server-side is included in the library. This + package provides the shared library. + +%package devel +License: MIT License +Summary: Include Files and Libraries Mandatory for Development +Requires: libijs eglibc-devel +Group: Development/Libraries/C and C++ + +%description devel + IJS raster image transport protocol: development files + IJS (InkJet Server) is, first and foremost, a protocol for transmission of + raster page images. This snapshot provides a reference implementation of + the protocol, the design of which is still in flux. When the protocol + specification is published, it will be authoritative. Applications should + feel free to link against the library provided in this package, adapt that + code for their own needs, or roll a completely new implementation. + . + IJS is a client-server protocol, used to write ghostscript drivers. The + drivers are separate programs. The client and server communicate via pipes, + though shared memory may be used additionally in the future. Currently IJS + is used by the hpijs and ijsgimpprint drivers. + . + Code for both the client- and server-side is included in the library. This + package provides a static library, development headers and documentation. + +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS" + +%configure\ + --prefix=/usr\ + --mandir=/usr/share/man --infodir=/usr/share/info \ + --enable-shared + +make %{?_smp_flags} CFLAGS="$CFLAGS" +make doc + +%install +%makeinstall + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README +%{_libdir}/libijs-0.35.so + +%files devel +%defattr(-,root,root) +%doc README +%{_includedir}/ijs/*.h +%{_libdir}/*.so +%{_libdir}/*.la +%{_libdir}/*.a +%{_libdir}/pkgconfig/ijs.pc +%{_bindir}/* +%{_docdir}/* +%{_mandir}/man1/ijs-config.1.gz + +%changelog |