libxfce4ui/libxfce4ui.spec

159 lines
4.7 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libxfce4ui
Version: 4.12.1
Release: 1mamba
Summary: Xfce's unified widgets 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/src/xfce/libxfce4ui/%{majver}/libxfce4ui-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glade3-devel
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libatk-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: xfconf-devel
## AUTOBUILDREQ-END
Provides: libxfce4mcs
Obsoletes: libxfce4mcs
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Xfce's unified widgets library.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libxfce4mcs-devel
Obsoletes: libxfce4mcs-devel
%description devel
Xfce's unified widgets library.
This package contains static libraries and header files need for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q
%build
%configure --enable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
%{_bindir}/xfce4-about
%{_libdir}/glade3/modules/libxfce4uiglade.la
%{_libdir}/glade3/modules/libxfce4uiglade.so
%{_libdir}/libxfce4kbd-private-2.so.*
%{_libdir}/libxfce4kbd-private-3.so.*
%{_libdir}/libxfce4ui-1.so.*
%{_libdir}/libxfce4ui-2.so.*
%{_datadir}/applications/xfce4-about.desktop
%{_datadir}/icons/hicolor/48x48/apps/xfce4-logo.png
%{_datadir}/glade3/catalogs/libxfce4ui.xml
%{_datadir}/glade3/catalogs/libxfce4ui.xml.in
%{_datadir}/glade3/pixmaps/hicolor/16x16/actions/widget-libxfce4ui-xfce-titled-dialog.png
%{_datadir}/glade3/pixmaps/hicolor/22x22/actions/widget-libxfce4ui-xfce-titled-dialog.png
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/xfce4
%{_libdir}/libxfce4kbd-private-2.la
%{_libdir}/libxfce4kbd-private-2.so
%{_libdir}/libxfce4kbd-private-3.la
%{_libdir}/libxfce4kbd-private-3.so
%{_libdir}/libxfce4ui-1.la
%{_libdir}/libxfce4ui-1.so
%{_libdir}/libxfce4ui-2.la
%{_libdir}/libxfce4ui-2.so
%{_libdir}/pkgconfig/libxfce4kbd-private-2.pc
%{_libdir}/pkgconfig/libxfce4kbd-private-3.pc
%{_libdir}/pkgconfig/libxfce4ui-1.pc
%{_libdir}/pkgconfig/libxfce4ui-2.pc
%doc ChangeLog NEWS README THANKS TODO
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{name}
%changelog
* Fri Mar 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.12.1-1mamba
- update to 4.12.1
* Thu Mar 12 2015 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
- automatic version update by autodist
* Fri Oct 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.0-2mamba
- provide/obsolete libxfcegui4[-devel] and libxfce4mcs[-devel]
* Sat Aug 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.10.0-1mamba
- update to 4.10.0
* Sun Jul 01 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-4mamba
- fixed support for glade3
* Sat Oct 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-3mamba
- rebuilt without glade3
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-2mamba
- rebuilt with glade3 3.8.0
* Wed Feb 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-1mamba
- package created by autospec