# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xfconf Version: 4.7.3 Release: 1 License: GPLv2+ %define libname lib%{name}-0-2 Summary: Simple Configuration Storage for XFCE Url: http://www.xfce.org/ Group: System/GUI/XFCE Source: %{name}-%{version}.tar.bz2 Patch0: xfconf-4.7.3-remove-rpath.patch BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: perl-ExtUtils-Depends BuildRequires: perl-ExtUtils-PkgConfig BuildRequires: perl-Glib BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Xfconf is a simple client-server configuration storage and query system for the XFCE desktop. %package -n perl-xfconf License: GPLv2+ Summary: Simple Configuration Storage for XFCE - Perl Interface Group: System/GUI/XFCE Requires: %{name} = %{version} Requires: perl = %{perl_version} Requires: perl-Glib %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}. %package -n %{libname} License: GPLv2+ Summary: Simple Configuration Storage for XFCE - Runtime Library Group: System/GUI/XFCE Provides: libxfce4mcs = %{version} Obsoletes: libxfce4mcs < %{version} %description -n %{libname} Xfconf is a simple client-server configuration storage and query system for the XFCE desktop. This package contains the runtime library. %package -n libxfconf-devel License: GPLv2+ Summary: Simple Configuration Storage for XFCE - Runtime Library - Development Files Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: pkgconfig(dbus-glib-1) Requires: pkgconfig(glib-2.0) Requires: pkgconfig(libxfce4util-1.0) Provides: libxfce4mcs-devel = %{version} Obsoletes: libxfce4mcs-devel < %{version} Provides: xfce-mcs-manager-devel = %{version} Obsoletes: xfce-mcs-manager-devel < %{version} %description -n libxfconf-devel Xfconf is a simple client-server configuration storage and query system for the XFCE desktop. This package contains files mandatory for development. %prep %setup -q %patch0 -p1 %build %configure \ --disable-silent-rules \ --disable-static \ --with-perl-options='NOECHO= OPTIMIZE="%{optflags}" CCDLFLAGS="-Wl,-E" INSTALLDIRS=vendor' \ --enable-gtk-doc make %{?_smp_mflags} %install %make_install rm -f %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,ur_PK} %perl_process_packlist %find_lang %{name} %clean rm -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog TODO %{_bindir}/xfconf-query %dir %{_libdir}/xfce4 %dir %{_libdir}/xfce4/xfconf %{_libdir}/xfce4/xfconf/xfconfd %{_datadir}/dbus-1/services/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/*.so.* %files -n libxfconf-devel %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/xfconf %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %files -n perl-xfconf %defattr(-,root,root) %dir %{perl_vendorarch}/Xfce4 %{perl_vendorarch}/Xfce4/Xfconf %{perl_vendorarch}/Xfce4/Xfconf.pm %dir %{perl_vendorarch}/auto %dir %{perl_vendorarch}/auto/Xfce4 %{perl_vendorarch}/auto/Xfce4/Xfconf %if 0%{?suse_version} < 1140 %{_localstatedir}/adm/perl-modules/xfconf %endif %doc %{_mandir}/man3/Xfce4::Xfconf.3pm* %changelog