xfconf/xfconf.spec

159 lines
4.7 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: xfconf
Version: 4.18.1
Release: 1mamba
Summary: XFCE configuration library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.xfce.org/
Source: http://archive.xfce.org/src/xfce/xfconf/%{majver}/xfconf-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libxfce4util-devel
## AUTOBUILDREQ-END
BuildRequires: libxfce4util-devel >= 4.12.1-1mamba
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
XFCE configuration library.
%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 < 4.18.0
%description -n lib%{name}-devel
XFCE configuration library.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
#find %{buildroot}%{_prefix}/lib/perl5/ -name perllocal.pod -exec rm -f {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/xfconf-query
%{_datadir}/bash-completion/completions/xfconf-query
%{_datadir}/dbus-1/services/org.xfce.Xfconf.service
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libxfconf-0.so.*
%{_libdir}/gio/modules/libxfconfgsettingsbackend.so
%{_libdir}/girepository-1.0/Xfconf-0.typelib
%dir %{_libdir}/xfce4/xfconf
%{_libdir}/xfce4/xfconf/xfconfd
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/xfce4/xfconf-0
%dir %{_includedir}/xfce4/xfconf-0/xfconf
%{_includedir}/xfce4/xfconf-0/xfconf/*.h
%{_libdir}/libxfconf-0.so
%{_datadir}/gir-1.0/Xfconf-0.gir
%{_datadir}/vala/vapi/libxfconf-0.deps
%{_datadir}/vala/vapi/libxfconf-0.vapi
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/*
%doc ChangeLog NEWS TODO
#%files -n perl-xfconf
#%defattr(-,root,root)
#%{perl_sitearch}/*
#%{_mandir}/man3/Xfce4::Xfconf.3pm*
%changelog
* Sat Apr 22 2023 Automatic Build System <autodist@mambasoft.it> 4.18.1-1mamba
- automatic version update by autodist
* Tue Dec 20 2022 Automatic Build System <autodist@mambasoft.it> 4.18.0-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 4.16.0-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 4.14.4-1mamba
- automatic version update by autodist
* Sat May 09 2020 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
- automatic version update by autodist
* Sun Aug 18 2019 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
- automatic version update by autodist
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.1-1mamba
- update to 4.12.1
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.0-3mamba
- perl 5.24 mass rebuild
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.0-2mamba
- rebuilt by autoport with build requirements: libxfce4util-devel>=4.12.1-1mamba
* Sun Mar 08 2015 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Thu Nov 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.0-2mamba
- perl 5.16 mass rebuild
* Fri Oct 19 2012 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
- automatic version update by autodist
* Fri Jan 28 2011 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
- update to 4.8.0
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
- automatic update to 4.6.2 by autodist
* Mon Jun 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.1-2mamba
- don't package perllocal.pod
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic update to 4.6.1 by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
- package created by autospec