Author: djurban                      Date: Sat Oct 22 23:06:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- part of my work for google's summer of code program, the qt wrapper around 
ghostscript
- rel. 1

---- Files affected:
SPECS:
   libqgs.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libqgs.spec
diff -u /dev/null SPECS/libqgs.spec:1.1
--- /dev/null   Sun Oct 23 01:06:46 2005
+++ SPECS/libqgs.spec   Sun Oct 23 01:06:38 2005
@@ -0,0 +1,103 @@
+# $Revision$, $Date$
+Summary:       The Qt wrapper around the Ghostscript shared library
+Name:          libqgs
+Version:       1.0
+Release:       1
+License:       LGPL
+Group:         Development/Libraries   
+Source0:       
http://team.pld-linux.org/~djurban/libqgs/%{name}-%{version}.tar.bz2
+# Source0-md5: c6713e268c207c4f5ab01f6e6b67e612
+URL:           http://team.pld-linux.org/~djurban/libqgs/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: qt-devel >= 6:3.3.5
+BuildRequires: ghostscript-devel
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libqgs is a Qt wrapper around the Ghostscript shared library. It makes
+it much easier to use Ghostscript in your Qt application. It saves you
+from having to care about starting Ghostscript, parsing its output,
+and doing weird tricks to receive the rendered pages. This library
+features progressive and nonprogressive rendering of pages, operation
+on a QImage object, error handling with support for exceptions, access
+to Ghostscript stdio/err messages via signals and via buffer (if
+enabled), API documentation, and examples of use.
+
+This library is a part of a project sponsored by Google Summer of 
+Code program, http://code.google.com/summerofcode.html.
+
+%package devel
+Summary:       Development files for the Qt wrapper around the Ghostscript 
shared library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the development libraries and header
+files for the Qt wrapper around the Ghostscript shared library.
+
+%package examples
+Summary:       Code with example use of the Qt wrapper around the Ghostscript 
shared library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description examples
+This is the package containing the code with example use of the Qt
+wrapper around the Ghostscript shared library.
+
+%prep
+%setup -q
+
+%build
+%{__make} -f admin/Makefile.common cvs
+
+%configure \
+%if "%{_lib}" == "lib64"
+       --enable-libsuffix=64 \
+%endif
+       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+       --with-qt-libraries=%{_libdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -f libqgs/examples/*.cpp $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -f libqgs/examples/*.h $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post          -p /sbin/ldconfig
+%postun                -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
+%{_includedir}/qgs.h
+
+%files examples
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_examplesdir}/%{name}
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/22 23:06:38  djurban
+- part of my work for google's summer of code program, the qt wrapper around 
ghostscript
+- rel. 1
+
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to