diff --git a/xfconf.spec b/xfconf.spec index 02d7b97..7a6591a 100644 --- a/xfconf.spec +++ b/xfconf.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: xfconf Version: 4.12.0 -Release: 2mamba +Release: 3mamba Summary: XFCE configuration library Group: System/Libraries Vendor: openmamba @@ -16,27 +16,49 @@ BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libglib-devel BuildRequires: libxfce4util-devel -BuildRequires: perl-devel BuildRequires: perl-Glib +BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: libxfce4util-devel >= 4.12.1-1mamba +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description XFCE configuration library. -%package devel +%package -n perl-xfconf +Summary: Perl package for %{name} +Group: System/Libraries/Perl +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n perl-xfconf +XFCE configuration library. + +This package contains the Perl bindings. + +%package -n lib%{name} +Summary: Devel package for %{name} +Group: System/Libraries + +%description -n lib%{name} +XFCE configuration library. + +This package contains the shared libraries. + +%package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: xfconf-devel +Obsoletes: xfconf-devel -%description devel +%description -n lib%{name}-devel XFCE configuration library. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %prep - %setup -q %build @@ -56,15 +78,16 @@ find %{buildroot}%{_prefix}/lib/perl5/ -name perllocal.pod -exec rm -f {} \; %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/xfconf-query +%{_datadir}/dbus-1/services/org.xfce.Xfconf.service +%doc AUTHORS COPYING + +%files -n lib%{name} +%defattr(-,root,root) %{_libdir}/libxfconf-0.so.* %dir %{_libdir}/xfce4/xfconf %{_libdir}/xfce4/xfconf/xfconfd -%{perl_sitearch}/* -%{_datadir}/dbus-1/services/org.xfce.Xfconf.service -%{_mandir}/man3/Xfce4::Xfconf.3pm* -%doc AUTHORS COPYING -%files devel +%files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/xfce4/xfconf-0 %dir %{_includedir}/xfce4/xfconf-0/xfconf @@ -75,7 +98,15 @@ find %{buildroot}%{_prefix}/lib/perl5/ -name perllocal.pod -exec rm -f {} \; %{_datadir}/gtk-doc/html/* %doc ChangeLog NEWS TODO +%files -n perl-xfconf +%defattr(-,root,root) +%{perl_sitearch}/* +%{_mandir}/man3/Xfce4::Xfconf.3pm* + %changelog +* Wed Nov 09 2016 Silvan Calarco 4.12.0-3mamba +- perl 5.24 mass rebuild + * Thu Mar 26 2015 Silvan Calarco 4.12.0-2mamba - rebuilt by autoport with build requirements: libxfce4util-devel>=4.12.1-1mamba