xfconf/xfconf.spec

136 lines
3.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: xfconf
Version: 4.12.0
Release: 3mamba
Summary: XFCE configuration library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.xfce.org
Source: http://archive.xfce.org/xfce/%{majver}/src/xfconf-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
BuildRequires: libxfce4util-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 -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 -n lib%{name}-devel
XFCE configuration library.
This package contains static libraries and header files needed for development.
%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}/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
%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.la
%{_libdir}/libxfconf-0.so
%{_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
* 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