xfconf/xfconf.spec

105 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: xfconf
Version: 4.12.0
Release: 2mamba
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-devel
BuildRequires: perl-Glib
## AUTOBUILDREQ-END
BuildRequires: libxfce4util-devel >= 4.12.1-1mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
XFCE configuration library.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
XFCE configuration library.
This package contains static libraries and header files need 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
%{_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
%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
%changelog
* 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