forked from pool/xfconf
Accepting request 112498 from X11:xfce
- corrected dependencies - split of -lang subpackage - specfile cleanup OBS-URL: https://build.opensuse.org/request/show/112498 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfconf?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
390bcba792
commit
b56fdbb153
@@ -1,3 +1,3 @@
|
|||||||
addFilter("no-dependency-on libxfconf.*")
|
# these headers belong here
|
||||||
addFilter("devel-file-in-non-devel-package .*/usr/lib/perl5/vendor_perl/.*\.h")
|
addFilter("devel-file-in-non-devel-package .*/usr/lib/perl5/vendor_perl/.*\.h")
|
||||||
|
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 29 20:55:58 UTC 2012 - gber@opensuse.org
|
||||||
|
|
||||||
|
- corrected dependencies
|
||||||
|
- split of -lang subpackage
|
||||||
|
- specfile cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 23 19:49:00 UTC 2011 - gber@opensuse.org
|
Fri Dec 23 19:49:00 UTC 2011 - gber@opensuse.org
|
||||||
|
|
||||||
|
84
xfconf.spec
84
xfconf.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xfconf
|
# spec file for package xfconf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,24 +15,28 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libxfconf-0-2
|
||||||
|
|
||||||
Name: xfconf
|
Name: xfconf
|
||||||
Version: 4.8.1
|
Version: 4.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
%define libname lib%{name}-0-2
|
|
||||||
Summary: Simple Configuration Storage for Xfce
|
Summary: Simple Configuration Storage for Xfce
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/GUI/XFCE
|
Group: System/GUI/XFCE
|
||||||
Url: http://www.xfce.org/
|
Url: http://www.xfce.org/projects#core
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: http://archive.xfce.org/src/xfce/xfconf/4.8/%{name}-%{version}.tar.bz2
|
||||||
Source100: %{name}-rpmlintrc
|
Source100: %{name}-rpmlintrc
|
||||||
|
# PATCH-FIX-OPENSUSE xfconf-remove-rpath.patch gber@opensuse.org -- Do not set RPATH for Xfconf.so
|
||||||
Patch0: xfconf-4.7.3-remove-rpath.patch
|
Patch0: xfconf-4.7.3-remove-rpath.patch
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: perl(ExtUtils::Depends)
|
BuildRequires: perl(ExtUtils::Depends)
|
||||||
BuildRequires: perl(ExtUtils::PkgConfig)
|
BuildRequires: perl(ExtUtils::PkgConfig)
|
||||||
BuildRequires: perl(Glib)
|
BuildRequires: perl(Glib)
|
||||||
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
BuildRequires: pkgconfig(dbus-glib-1)
|
BuildRequires: pkgconfig(dbus-glib-1)
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
BuildRequires: pkgconfig(libxfce4util-1.0)
|
BuildRequires: pkgconfig(libxfce4util-1.0)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@@ -41,49 +45,50 @@ Xfconf is a simple client-server configuration storage and query system for the
|
|||||||
Xfce desktop.
|
Xfce desktop.
|
||||||
|
|
||||||
%package -n perl-xfconf
|
%package -n perl-xfconf
|
||||||
Summary: Simple Configuration Storage for Xfce - Perl Interface
|
Summary: Perl Interface to xfconf
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Glib)
|
Requires: perl(Glib)
|
||||||
|
Recommends: %{name}-lang = %{version}
|
||||||
|
|
||||||
%description -n perl-xfconf
|
%description -n perl-xfconf
|
||||||
Xfconf is a simple client-server configuration storage and query system for the
|
|
||||||
Xfce desktop.
|
|
||||||
|
|
||||||
This package contains the Perl interface to %{name}.
|
This package contains the Perl interface to %{name}.
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
|
Summary: xfconf Shared Library
|
||||||
Summary: Simple Configuration Storage for Xfce - Runtime Library
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libxfce4mcs = %{version}
|
Provides: libxfce4mcs = %{version}
|
||||||
Obsoletes: libxfce4mcs < %{version}
|
Obsoletes: libxfce4mcs < %{version}
|
||||||
Recommends: %{name} = %{version}
|
Recommends: %{name} = %{version}
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
Xfconf is a simple client-server configuration storage and query system for the
|
This package contains the xfconf shared library.
|
||||||
Xfce desktop.
|
|
||||||
|
|
||||||
This package contains the runtime library.
|
|
||||||
|
|
||||||
%package -n libxfconf-devel
|
%package -n libxfconf-devel
|
||||||
Summary: Simple Configuration Storage for Xfce - Runtime Library - Development Files
|
Summary: Development Files for xfconf
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
Requires: pkgconfig(dbus-glib-1)
|
|
||||||
Requires: pkgconfig(glib-2.0)
|
|
||||||
Requires: pkgconfig(libxfce4util-1.0)
|
|
||||||
Provides: libxfce4mcs-devel = %{version}
|
Provides: libxfce4mcs-devel = %{version}
|
||||||
Obsoletes: libxfce4mcs-devel < %{version}
|
Obsoletes: libxfce4mcs-devel < %{version}
|
||||||
Provides: xfce-mcs-manager-devel = %{version}
|
Provides: xfce-mcs-manager-devel = %{version}
|
||||||
Obsoletes: xfce-mcs-manager-devel < %{version}
|
Obsoletes: xfce-mcs-manager-devel < %{version}
|
||||||
|
|
||||||
%description -n libxfconf-devel
|
%description -n libxfconf-devel
|
||||||
Xfconf is a simple client-server configuration storage and query system for the
|
This package contains the files needed for developing applications using
|
||||||
Xfce desktop.
|
xfconf.
|
||||||
|
|
||||||
This package contains files mandatory for development.
|
# this should be replaced by %%lang_package once bnc#513786 is resolved
|
||||||
|
%package lang
|
||||||
|
Summary: Languages for package %{name}
|
||||||
|
Group: System/Localization
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
Provides: %{name}-lang-all = %{version}
|
||||||
|
Supplements: packageand(bundle-lang-other:%{libname})
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description lang
|
||||||
|
Provides translations to the package %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@@ -91,20 +96,23 @@ This package contains files mandatory for development.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-helper-path-prefix=%{_libexecdir} \
|
--with-helper-path-prefix=%{_libexecdir} \
|
||||||
--with-perl-options='NOECHO= OPTIMIZE="%{optflags}" CCDLFLAGS="-Wl,-E" INSTALLDIRS=vendor' \
|
--with-perl-options='NOECHO= OPTIMIZE="%{optflags}" CCDLFLAGS="-Wl,-E" INSTALLDIRS=vendor' \
|
||||||
--enable-gtk-doc
|
--enable-gtk-doc
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
|
||||||
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,ur_PK}
|
rm -f %{buildroot}%{_libdir}/*.la \
|
||||||
rm -f %{buildroot}%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.bs
|
%{buildroot}%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.bs
|
||||||
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%find_lang %{name}
|
|
||||||
|
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,ur_PK}
|
||||||
|
|
||||||
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@@ -113,25 +121,30 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog TODO
|
%doc AUTHORS COPYING ChangeLog TODO
|
||||||
%{_bindir}/xfconf-query
|
%{_bindir}/xfconf-query
|
||||||
%dir %{_libexecdir}/xfce4
|
%dir %{_libexecdir}/xfce4
|
||||||
%dir %{_libexecdir}/xfce4/xfconf
|
%dir %{_libexecdir}/xfce4/xfconf
|
||||||
%{_libexecdir}/xfce4/xfconf/xfconfd
|
%{_libexecdir}/xfce4/xfconf/xfconfd
|
||||||
%{_datadir}/dbus-1/services/*
|
%{_datadir}/dbus-1/services/org.xfce.Xfconf.service
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%doc COPYING
|
||||||
|
%{_libdir}/libxfconf-*.so.*
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%files -n libxfconf-devel
|
%files -n libxfconf-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc
|
||||||
|
%dir %{_datadir}/gtk-doc/html
|
||||||
%doc %{_datadir}/gtk-doc/html/xfconf
|
%doc %{_datadir}/gtk-doc/html/xfconf
|
||||||
%{_includedir}/*
|
%{_includedir}/xfce4
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libxfconf-*.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/libxfconf-*.pc
|
||||||
|
|
||||||
%files -n perl-xfconf
|
%files -n perl-xfconf
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@@ -142,8 +155,5 @@ rm -rf %{buildroot}
|
|||||||
%dir %{perl_vendorarch}/auto
|
%dir %{perl_vendorarch}/auto
|
||||||
%dir %{perl_vendorarch}/auto/Xfce4
|
%dir %{perl_vendorarch}/auto/Xfce4
|
||||||
%{perl_vendorarch}/auto/Xfce4/Xfconf
|
%{perl_vendorarch}/auto/Xfce4/Xfconf
|
||||||
%if 0%{?suse_version} < 1140
|
|
||||||
%{_localstatedir}/adm/perl-modules/xfconf
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user