From c4cc6b9f5566f7a911e0aa5c4a4c630728f8b93b Mon Sep 17 00:00:00 2001 From: Pavel Alexeev Date: Sep 30 2008 09:37:05 +0000 Subject: Initial import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..d6b7849 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sim-0.9.5-SVN20080923rev2261.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..cbc5b0b --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sim-0_9_5-0_6_20080923svn2261rev:F-9:sim-0.9.5-0.6.20080923svn2261rev.src.rpm:1222767409 diff --git a/sim.spec b/sim.spec new file mode 100644 index 0000000..15d6b48 --- /dev/null +++ b/sim.spec @@ -0,0 +1,224 @@ +%define with_kde 1 +%define SVNdate 20080923 +%define SVNrev 2261 + +Name: sim +Version: 0.9.5 +Release: 0.6.%{SVNdate}svn%{SVNrev}rev +#svn checkout -r %{SVNrev} svn://svn.berlios.de/sim-im/trunk +Source0: %{name}-%{version}-SVN%{SVNdate}rev%{SVNrev}.tar.bz2 +Distribution: Fedora +Summary: SIM - Multiprotocol Instant Messenger +Summary(de): SIM - Multiprotokoll Instant Messenger +Summary(ru): SIM - Мультипротокольный Мессенджер +License: GPLv2+ +Group: Applications/Internet +URL: http://sim-im.berlios.de/ +BuildRequires: autoconf >= 2.52, automake >= 1.5 +BuildRequires: gcc, gcc-c++, zlib-devel, libjpeg-devel, expat-devel, flex, libart_lgpl-devel, libpng-devel, gettext, libXScrnSaver-devel +%if %{with_kde} +%if %{fedora} == 8 +BuildRequires: kdebase >= 3.0.0, kdelibs-devel >= 3.0.0 +%else #Fedora gt 8. Lt is not supported +BuildRequires: kdelibs3-devel >= 3.0.0 +%endif +%endif +BuildRequires: qt-devel >= 3.0.0, openssl-devel, pcre-devel >= 3.9, arts-devel >= 1.0, libxml2-devel, libxslt-devel, boost-devel +BuildRequires: zip +Requires: qt >= 3.0.0, openssl, arts >= 1.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +SIM - Multiprotocol Instant Messenger + +SIM (Simple Instant Messenger) is a plugins-based open- +source instant messenger that supports various protocols +(ICQ, Jabber, AIM, MSN, LiveJournal, Yahoo!). It uses the +QT library and works on X11 (with optional KDE support). + +SIM has countless features, many of them are listed at: +http://sim-im.berlios.de/ + +%description -l de +SIM (Simple Instant Messenger) ist ein Plugin-basierender open-source +Instant Messenger, der verschiedene Protokolle (ICQ, Jabber, AIM, MSN, +LiveJournal, Yahoo!) unterstützt. Dafür wird die QT-Bibliothek und X11 +(mit optionaler KDE- Unterstützung) verwendet. + +SIM hat sehr unzählige Features, viele von diesen sind aufgelistet unter: +http://sim-im.berlios.de/ + + +%description -l ru +SIM (Simple Instant Messenger) это базирующийся на плагинах мессенджер с +открытым исходным кодом, который поддерживает различные протоколы обмена +мнгновенными сообщениями, такие как: ICQ, Jabber, AIM, MSN, LiveJournal, Yahoo! +Графический интерфейс базируется на библиотеке QT (опционально имеется +поддержка KDE) + +SIM имеет кучу возможностей, большинство из которых пердставлены на сайте: +http://sim-im.org/ + + +%prep +%setup -q -n trunk +make -f admin/Makefile.common +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" + + +%build +%configure --disable-rpath \ +%if %{with_kde} + --enable-kde \ +%else + --disable-kde \ +%endif + $LOCALFLAGS + +# Setup for parallel builds +numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` +if [ "$numprocs" = "0" ]; then + numprocs=1 +fi + +make -j $numprocs + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT +%find_lang %{name} + +#Rm symlink, which seems as development. +%{__rm} $RPM_BUILD_ROOT/%{_libdir}/libsim.so + +desktop-file-install --vendor="fedora" \ + --add-category="Network" \ + --delete-original \ + --dir=$RPM_BUILD_ROOT/%{_datadir}/applications \ + $RPM_BUILD_ROOT/%{_datadir}/applications/kde/%{name}.desktop + + +%clean +rm -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_DIR/%{name}-%{version} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-, root, root) +%doc AUTHORS COPYING ChangeLog README* TODO INSTALL +%{_bindir}/sim* +%{_libdir}/libsim* +%{_libdir}/sim/ +%{_datadir}/applications/fedora-%{name}.desktop +%{_datadir}/apps/ +%{_datadir}/icons/*/*/*/* +%{_datadir}/mimelnk/ +%{_datadir}/services/ + +%changelog +* Sun Sep 28 2008 Pavel Alexeev - 0.9.5-0.6.20080923svn2261rev +- "make install-strip" replaced by "make install" for correct build *-debuginfo package (Marcela Maslanova) + +* Wed Sep 24 2008 Pavel Alexeev - 0.9.5-0.5.20080923svn2261rev +- Fix two macro-in-%%changelog +- Fix release inconsistence. + +* Tue Sep 23 2008 Pavel Alexeev - 0.9.5-0.4.20080923svn2261rev +- New revision 2261 +- Add BR zip (thanks Marcela Maslanova) + +* Tue Sep 9 2008 Pavel Alexeev - 0.9.5-0.3.20080904svn2258rev +- Change Release format to conform Fedora standard from "3.SVN20080904rev2258" to "0.3.20080904svn2258rev" (Patrice Dumas) + +* Fri Sep 5 2008 Pavel Alexeev - 0.9.5-3.SVN20080904rev2258 +- Add correct .desktop installation via desktop-file-install (Marcela Maslanova) +- Desktop file %%{_datadir}/applications/kde/sim.desktop renamed to %%{_datadir}/applications/fedora-%%{name}.desktop + +* Thu Sep 4 2008 Pavel Alexeev - 0.9.5-2.SVN20080904rev2258 +- Rm %%{_libdir}/libsim.so (Patrice Dumas) +- License changed to GPLv2+ according sources (Patrice Dumas thanks again) + +* Thu Sep 4 2008 Pavel Alexeev - 0.9.5-1.SVN20080904rev2258 +- Spec de-part converted into UTF-8 +- Changed BR kdelibs to kdelibs-devel for Fedora8 + +* Thu Sep 4 2008 Pavel Alexeev - 0.9.5-0.SVN20080904rev2258 +- Version 0.9.5-0.SVN20080904rev2258.Hu.1 +- Changes to avouid rpmlint warnings, not magor changes: + * Adding rm -Rf $RPM_BUILD_ROOT to start of %%install + * Escape all percent sign by doubling it. + * Description lines truncated + * License changed to GPLv2 according to included in source license. + * Removed requires libxml2, libxslt to let rpm find the library dependencies by itself. +- Changes to conform Fedora standarts: + * Spec renamed to just sim.spec + * Delete Hu-part of Release +- Add conditional BR depend of distribution. + Fo F8: BuildRequires: kdebase >= 3.0.0, kdelibs >= 3.0.0 + And for athers: BuildRequires: kdelibs3-devel >= 3.0.0 +- Add %%post and %%postun sections to register library. +- Add --disable-rpath option to configure script. Avoid disabling RPATH check (export QA_RPATHS=0x0001) +- Source changed, added SVNrev part. + +* Tue Jun 24 2008 Pavel Alexeev - 0.9.5-0.SVN20080328rev2217.Hu.1 +- Add define SVNrev and add it into Release. +- Move configure action to build stage from prep +- Delete (comment out) R kdelibs and kdebase + +* Tue Jun 24 2008 Pavel Alexeev - 0.9.5-0.SVN20080328.Hu.0 +- 0.9.5-0.SVN20080624. SVN revision 2217 +- Build for F9 +- Change Distribution: Fedora Core to Fedora +- Comment out Vendor and Packager +- Add Summary(ru) +- Del --with-qt-dir=/usr/lib/qt-3.3 from configure options +- Replace BuildRoot by more standart %%{_tmppath}/%%{name}-%%{version}-%%{release}-root-%%(%%{__id_u} -n) +- Change Source: + Source0: %%{name}-%%{version}-%%{release}.tar.bz2 + to + Source0: %%{name}-%%{version}-SVN%%{SVNdate}.tar.bz2 +- Change BR kdelibs-devel to kdelibs3-devel + +* Fri Mar 28 2008 Pavel Alexeev - 0.9.5-0.SVN20080328.Hu.0 +- Next SVN build 2008-03-28 +- Change release enumeration + sim-0.9.5svn-2008_03_28.Hu.0 + to + sim-0.9.5-0.SVN20080328.Hu.0 +- Translate description (%%description -l ru). And use in it URL http://sim-im.org/ instead of http://sim-im.berlios.de/ + +* Wed Oct 10 2007 Pavel Alexeev +- Next SVN build 2007-10-10 + +* Wed Sep 12 2007 Pavel Alexeev +- Next SVN build 2007-09-12 + +* Wed Jun 6 2007 Pavel Alexeev +- Next SVN build +- Comment out Packager and Vendor fields: + Vendor: Vladimir Shutoff + Packager: Robert Scheck + +* Sat Apr 03 2004 - Robert Scheck - 0.9.3-2 +- Upgrade to 0.9.3-2 (second 0.9.3 release) + +* Wed Mar 31 2004 - Robert Scheck - 0.9.3-1 +- Upgrade to 0.9.3 +- Made the KDE support conditional +- Merged Red Hat Linux spec file into Fedora Core spec file + +* Fri Dec 26 2003 - Robert Scheck - 0.9.2-1 +- Upgrade to 0.9.2 +- Added sablotron to requirements + +* Wed Nov 05 2003 - Robert Scheck - 0.9.1-1 +- Upgrade to 0.9.1 + +* Tue Oct 28 2003 - Robert Scheck - 0.9.0-1 +- Upgrade to 0.9.0 +- Adapted spec file from Red Hat Linux + diff --git a/sources b/sources index e69de29..184eb9c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +10108228cc561672f21acfe315468264 sim-0.9.5-SVN20080923rev2261.tar.bz2