OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 07-Nov-2003 23:22:12
Branch: HEAD Handle: 2003110722221200
Added files:
openpkg-src/libglade libglade.spec
Log:
new package: libglade 2.0.1 (Glade Interface File Interface)
Summary:
Revision Changes Path
1.1 +98 -0 openpkg-src/libglade/libglade.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libglade/libglade.spec
============================================================================
$ cvs diff -u -r0 -r1.1 libglade.spec
--- /dev/null 2003-11-07 23:22:12.000000000 +0100
+++ libglade.spec 2003-11-07 23:22:12.000000000 +0100
@@ -0,0 +1,98 @@
+##
+## libglade.spec -- OpenPKG RPM Specification
+## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
+## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
+## Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
+##
+## Permission to use, copy, modify, and distribute this software for
+## any purpose with or without fee is hereby granted, provided that
+## the above copyright notice and this permission notice appear in all
+## copies.
+##
+## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
+##
+
+# package information
+Name: libglade
+Summary: Glade Interface File Interface
+URL: http://www.daa.com.au/~james/gnome/
+Vendor: James Henstridge
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Development
+License: LGPL
+Version: 2.0.1
+Release: 20031107
+
+# list of sources
+Source0:
ftp://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/libglade-%{version}.tar.bz2
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103, gtk2, libxml
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Libglade is a library that performs a similar job to the C source output
+ routines in the GLADE user interface builder. Whereas GLADE's output
+ routines create C source code that must be compiled, libglade builds the
+ interface from an XML file (GLADE's save format) at runtime. This can
+ allow modifying the user interface without recompiling.
+
+%prep
+ %setup -q
+
+%build
+ CC="%{l_cc}" \
+ CFLAGS="%{l_cflags -O}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --disable-shared
+ %{l_make} %{l_mflags -O}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/include/glade \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig \
+ $RPM_BUILD_ROOT%{l_prefix}/share/libglade/xml
+ %{l_shtool} install -c -m 644 \
+ glade/*.h \
+ $RPM_BUILD_ROOT%{l_prefix}/include/glade/
+ %{l_shtool} install -c -m 644 \
+ glade/.libs/libglade-2.0.a \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/libglade.a
+ %{l_shtool} install -c -m 755 \
+ glade/.libs/libglade-2.0.la \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/libglade.la
+ %{l_shtool} install -c -m 644 \
+ -e 's;-lglade-2.0;-lglade;' \
+ -e 's;libglade-2.0;libglade;' \
+ *.pc \
+ $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
+ %{l_shtool} install -c -m 644 \
+ glade-2.0.dtd \
+ $RPM_BUILD_ROOT%{l_prefix}/share/libglade/xml/
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+
+%files -f files
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]