Name: purple-line Version: 20150426git9b7b019 Release: 2%{?dist} Summary: libpurple (Pidgin, Finch) protocol plugin for LINE License: MIT URL: http://altrepo.eu/git/purple-line # The source for this package was pulled from upstream's git. Use the # following commands to generate the tarball: # git clone http://altrepo.eu/git/purple-line.git # git archive 9b7b0197cd8fc628b8fd0ca8353a45b6d088af20 # --format=tar.gz --prefix=%%{name}-%%{version}/ # > %%{name}-%%{version}.tar.gz Source0: %{name}-%{version}.tar.gz Requires: pidgin BuildRequires: gcc-c++ BuildRequires: pkgconfig(pidgin) BuildRequires: pkgconfig(thrift) %description This provides the interface of LINE messenger for pidgin. %prep %setup -q %build CXXFLAGS="${CXXFLAGS:-%optflags}" # Copied CXXFLAGS from %%name/libpurple/Makefile CXXFLAGS="$CXXFLAGS -shared -fPIC" CXXFLAGS="$CXXFLAGS -DHAVE_INTTYPES_H -DHAVE_CONFIG_H -DPURPLE_PLUGINS" CXXFLAGS="$CXXFLAGS `pkg-config --cflags purple thrift`" make %{?_smp_mflags} CXXFLAGS="$CXXFLAGS" %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' %files %license LICENSE %doc README.md %{_libdir}/purple-2/libline.so %changelog * Fri Jul 03 2015 Takao Fujiwara - 20150426git9b7b019-2 - rhbz#1232580#c1 * Mon Jun 15 2015 Takao Fujiwara - 20150426git9b7b019-1 - Initial implementation