ktp-common-internals/ktp-common-internals.spec

119 lines
3.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: ktp-common-internals
Version: 0.8.1
Release: 1mamba
Summary: KDE Telepathy common library
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.kde.org
Source: http://download.kde.org/stable/kde-telepathy/%{version}/src/ktp-common-internals-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: kdepimlibs-devel
BuildRequires: libQtDeclarative
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
BuildRequires: telepathy-qt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: kde-workspace
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
KDE Telepathy common library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --all-name --with-kde || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
exit 0
%posttrans
/sbin/ldconfig
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_datadir}/ktelepathy/ktelepathy.notifyrc
%{_kde4_icondir}/hicolor/*/apps/telepathy-kde.png
%{_kde4_icondir}/hicolor/*/actions/*.png
%{_kde4_icondir}/hicolor/scalable/apps/telepathy-kde.svgz
%{_kde4_libdir}/libktpcommoninternalsprivate.so.*
%{_kde4_libdir}/libktpmodelsprivate.so.*
%{_kde4_libdir}/libktpwidgetsprivate.so.*
%{_kde4_libdir}/libktploggerprivate.so.*
%{_kde4_libdir}/kde4/imports/org/kde/telepathy/libktpqmlplugin.so
%{_kde4_libdir}/kde4/imports/org/kde/telepathy/qmldir
%{_kde4_datadir}/katepart/syntax/ktpdebugoutput.xml
%{_kde4_servicetypesdir}/ktp_logger_plugin.desktop
%doc COPYING
%files devel
%defattr(-,root,root)
%{_kde4_bindir}/ktp-debugger
%{_kde4_includedir}/KTp
%{_kde4_libdir}/libktpcommoninternalsprivate.so
%{_kde4_libdir}/libktpmodelsprivate.so
%{_kde4_libdir}/libktpwidgetsprivate.so
%{_kde4_libdir}/libktploggerprivate.so
%changelog
* Tue Oct 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- update to 0.8.1
* Sun Oct 07 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-1mamba
- update to 0.5.1
* Tue Aug 28 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.5.0-1mamba
- update to 0.5.0
* Fri Jul 27 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.1-1mamba
- update to 0.4.1
* Wed Jun 20 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
- update to 0.4.0
* Mon Apr 09 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
- package created by autospec