kemoticons/kemoticons.spec

107 lines
3.4 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kemoticons
Version: 5.10.0
Release: 1mamba
Summary: Convert text emoticons to graphical emoticons
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kemoticons-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkservice-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KEmoticons converts emoticons from text to a graphical representation with images in HTML. It supports setting different themes for emoticons coming from different providers.
%package -n lib%{name}
Group: System/Libraries
Summary: Convert text emoticons to graphical emoticons
%description -n lib%{name}
KEmoticons converts emoticons from text to a graphical representation with images in HTML. It supports setting different themes for emoticons coming from different providers.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKF5Emoticons.so.*
%{_libdir}/plugins/kf5/KEmoticonsIntegrationPlugin.so
%dir %{_libdir}/plugins/kf5/emoticonsthemes
%{_libdir}/plugins/kf5/emoticonsthemes/adium.so
%{_libdir}/plugins/kf5/emoticonsthemes/kde.so
%{_libdir}/plugins/kf5/emoticonsthemes/pidgin.so
%{_libdir}/plugins/kf5/emoticonsthemes/xmpp.so
%dir %{_datadir}/emoticons
%dir %{_datadir}/emoticons/Glass
%{_datadir}/emoticons/Glass/*
%{_datadir}/kservices5/emoticonstheme_*.desktop
%{_datadir}/kservicetypes5/kemoticonsTheme.desktop
%doc COPYING COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KEmoticons
%{_includedir}/KF5/KEmoticons/*
%{_includedir}/KF5/kemoticons_version.h
%dir %{_libdir}/cmake/KF5Emoticons
%{_libdir}/cmake/KF5Emoticons/KF5Emoticons*.cmake
%{_libdir}/libKF5Emoticons.so
/usr/mkspecs/modules/qt_KEmoticons.pri
%doc README.md
%changelog
* Thu May 14 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Sun Mar 22 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Tue Mar 03 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Mon Feb 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface