choqok/choqok.spec

135 lines
4.1 KiB
RPMSpec
Raw Normal View History

Name: choqok
Version: 1.5
Release: 1mamba
Summary: A Free/Open Source micro-blogging client for KDE
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://choqok.gnufolks.org
Source: http://downloads.sourceforge.net/project/choqok/Choqok/choqok-%{version}.tar.xz
Patch0: choqok-1.1-dbus_servicesdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libattica-devel
BuildRequires: libgcc
BuildRequires: libindicate-qt-devel
BuildRequires: libphonon-devel
BuildRequires: libqjson-devel
BuildRequires: libqoauth-devel
BuildRequires: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: chrpath
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Choqok is a KDE micro-blogging client.
Currently supports Twitter.com and Identi.ca services.
A quick and efficient client for KDE 4 Desktops.
It has a System tray Icon, and use notifications to notify user about updates, and fair configurable.
%package -n lib%{name}
Group: System/Libraries
Summary: Library for using Choqok
%description -n lib%{name}
Choqok is a KDE micro-blogging client.
Currently supports Twitter.com and Identi.ca services.
A quick and efficient client for KDE 4 Desktops.
It has a System tray Icon, and use notifications to notify user about updates, and fair configurable.
This package contains shared libraries needed for Choqok.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for Choqok
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
Choqok is a KDE micro-blogging client.
Currently supports Twitter.com and Identi.ca services.
A quick and efficient client for KDE 4 Desktops.
It has a System tray Icon, and use notifications to notify user about updates, and fair configurable.
This package contains static libraries and header files need for development.
%prep
%setup -q
%patch -p0
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}
for file in %{buildroot}{%{_kde4_libdir}/{kde4/*.so,*.so.*},%{_kde4_bindir}/choqok}
do
chrpath --list $file && chrpath --delete $file || :
done
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_bindir}/choqok
%{_kde4_libdir}/kde4/*.so
%{_kde4_xdgappsdir}/choqok.desktop
%{_kde4_servicesdir}/*.desktop
%{_kde4_servicetypesdir}/*.desktop
%{_kde4_datadir}/choqok*
%{_kde4_sharedir}/appdata/choqok.appdata.xml
%{_kde4_sharedir}/config.kcfg/*.kcfg
%{_kde4_icondir}/hicolor/*/apps/*.png
%{_kde4_icondir}/hicolor/*/actions/*.png
%{_kde4_dbusservicesdir}/org.kde.choqok.service
%{_kde4_datadir}/khtml/kpartplugins/konqchoqok*
#%{_kde4_datadir}/kwebkitpart/kpartplugins/konqchoqok*
%{_kde4_servicesdir}/ServiceMenus/*.desktop
%{_kde4_htmldir}/*/choqok
%files -n lib%{name}
%defattr(-,root,root)
%{_kde4_libdir}/*.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_kde4_libdir}/*.so
%{_kde4_includedir}/choqok
%{_kde4_datadir}/cmake/modules/*.cmake
%doc changelog README TODO
%changelog
* Mon Jan 26 2015 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- update to 1.4
* Wed Aug 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
- rebuilt with libattica 0.4
* Wed Mar 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Mon Apr 04 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1-1mamba
- update to 1.1
* Thu Mar 25 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.55-1mamba
- package created by autospec