Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libglade2
libglade2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libglade2.spec of Package libglade2
# # spec file for package libglade2 # # Copyright (c) 2013 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/ # Name: libglade2 %define _name libglade Summary: Glade Library Compatible with the GNOME 2.x Desktop Platform License: LGPL-2.1+ Group: Development/Libraries/GNOME Version: 2.6.4 Release: 0 # NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) Url: http://www.daa.com.au/~james/gnome/ Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.6/%{_name}-%{version}.tar.bz2 Source99: baselibs.conf BuildRequires: fdupes BuildRequires: gtk2-devel BuildRequires: libxml2-devel BuildRequires: python-devel BuildRequires: python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This library allows you to load Glade interface files in a program at runtime. It does not require that you use Glade, but Glade is the easiest way to create the interface files. For an idea of how to use the library, see the documentation, especially /usr/share/doc/packages/libglade/test-libgladee.c and the glade-xml.h include, which is in the libglade package. %package -n libglade-2_0-0 Summary: Glade Library Compatible with the GNOME 2.x Desktop Platform Group: Development/Libraries/GNOME Provides: %{name} = %{version} # Note: we keep <= (and a rpmlint warning...) until we get a version higher than 2.6.4 (when this provides/obsoletes was introduced) Obsoletes: %{name} <= %{version} # bug437293 %ifarch ppc64 Obsoletes: libglade2-64bit %endif # %description -n libglade-2_0-0 This library allows you to load Glade interface files in a program at runtime. It does not require that you use Glade, but Glade is the easiest way to create the interface files. For an idea of how to use the library, see the documentation, especially /usr/share/doc/packages/libglade/test-libgladee.c and the glade-xml.h include, which is in the libglade package. %package devel Summary: Include files and libraries mandatory for development Group: Development/Libraries/GNOME Requires: libglade-2_0-0 = %{version} # bug437293 %ifarch ppc64 Obsoletes: libglade2-devel-64bit %endif # %description devel This package contains all necessary include files and libraries needed to compile and link applications that use libglade2. %package doc Summary: Documentation for the Glade library Group: Development/Libraries/GNOME Requires: libglade-2_0-0 = %{version} %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description doc This package contains documentation and examples for the Glade library. %prep %setup -q -n %{_name}-%{version} %build %configure --with-pic \ --disable-static make %{?jobs:-j%jobs} %install %makeinstall mkdir -p $RPM_BUILD_ROOT%{_libdir}/libglade/2.0 %{__rm} -vf %{buildroot}%{_libdir}/*.la %if %suse_version > 1020 %fdupes $RPM_BUILD_ROOT %endif %clean rm -rf $RPM_BUILD_ROOT %post -n libglade-2_0-0 -p /sbin/ldconfig %postun -n libglade-2_0-0 -p /sbin/ldconfig %files -n libglade-2_0-0 %defattr(-, root, root) %doc AUTHORS ChangeLog NEWS README COPYING %{_libdir}/libglade-2.0.so.* %dir %{_libdir}/libglade %dir %{_libdir}/libglade/2.0 %files devel %defattr(-, root, root) %{_bindir}/* %{_includedir}/libglade-2.0 %{_libdir}/libglade-2.0.so %{_libdir}/pkgconfig/*.pc %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/libglade %{_datadir}/xml/libglade %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor