choqok-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. Summary: Choqok KDE Micro-Blogging Client
  2. Summary(ja): KDE マイクロブログクライアント
  3. Name: choqok
  4. Version: 0.9.55
  5. Release: 15%{?_dist_release}
  6. License: GPLv3
  7. Group: Applications/Internet
  8. URL: http://choqok.gnufolks.org/
  9. Source: http://tejas.fedorapeople.org/choqok-0.9.55.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake >= 2.6
  12. BuildRequires: desktop-file-utils
  13. BuildRequires: kdelibs4-devel
  14. BuildRequires: gettext
  15. Requires: %{name}-libs = %{version}-%{release}
  16. %description
  17. A Free/Open Source micro-blogging client for K Desktop Environment.
  18. The name comes from an ancient Persian word, which means Sparrow!
  19. Choqok currently supports Twitter.com and Identi.ca services.
  20. %package libs
  21. Summary: Runtime libraries for %{name}
  22. Group: System Environment/Libraries
  23. # Requires: %{name} = %{version}-%{release}
  24. # for kwallet, among other goodies
  25. Requires: kdebase-runtime
  26. %description libs
  27. %{summary}
  28. %package devel
  29. Group: Development/Libraries
  30. Summary: Development files for %{name}
  31. Requires: %{name}-libs = %{version}-%{release}
  32. Requires: kdelibs4-devel
  33. %description devel
  34. %{summary}
  35. %prep
  36. %setup -q
  37. %build
  38. mkdir -p %{_target_platform}
  39. pushd %{_target_platform}
  40. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  41. PATH=$PATH:%{_prefix}/kerberos/bin \
  42. %cmake \
  43. -DCMAKE_BUILD_TYPE=release \
  44. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  45. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  46. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  47. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  48. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  49. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  50. ..
  51. popd
  52. make %{?_smp_mflags} -C %{_target_platform}
  53. %install
  54. rm -rf %{buildroot}
  55. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  56. %find_lang %{name}
  57. %check
  58. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/choqok.desktop
  59. %clean
  60. rm -rf %{buildroot}
  61. %post
  62. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  63. %postun
  64. if [ $1 -eq 0 ] ; then
  65. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. fi
  68. %posttrans
  69. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  70. %files -f %{name}.lang
  71. %defattr(-,root,root,-)
  72. %doc COPYING README AUTHORS changelog TODO
  73. %{_bindir}/choqok
  74. %{_libdir}/kde4/choqok_*.so
  75. %{_libdir}/kde4/kcm_choqok_*.so
  76. %{_datadir}/icons/hicolor/*/actions/retweet.png
  77. %{_datadir}/icons/hicolor/*/apps/*.png
  78. %{_datadir}/applications/kde4/choqok.desktop
  79. %{_datadir}/config.kcfg/*.kcfg
  80. %{_datadir}/kde4/services/choqok_*.desktop
  81. %{_datadir}/kde4/apps/choqok
  82. %{_datadir}/kde4/apps/choqok_*/*.rc
  83. %{_datadir}/kde4/servicetypes/choqok*.desktop
  84. %files libs
  85. %defattr(-,root,root,-)
  86. %{_libdir}/lib*.so.*
  87. %files devel
  88. %defattr(-,root,root,-)
  89. %{_includedir}/kde4/choqok
  90. %{_libdir}/lib*.so
  91. %changelog
  92. * Sat May 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.55-15
  93. - initial build for Vine Linux
  94. * Tue Mar 09 2010 Tejas Dinkar <tejas@gja.in> - 0.9.55-14
  95. - Add dependency from -libs to choqok
  96. * Tue Mar 09 2010 Rex Dieter <rdieter@fedoraprojecdt.org> - 0.9.55-13
  97. - Requires: kdebase-runtime (not kdeutils)
  98. * Tue Mar 09 2010 Tejas Dinkar <tejas@gja.in> - 0.9.55-12
  99. - choqok 1.0-beta
  100. * Wed Sep 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.6.6-9
  101. - add icon/desktop-file scriptlets
  102. * Sun Aug 16 2009 Tejas Dinkar <tejas@gja.in> - 0.6.6-8
  103. - Added Dependency on kdeutils
  104. - Choqok 0.6.6 is out
  105. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-8
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  107. * Sun Jun 14 2009 Tejas Dinkar <tejas@gja.in> - 0.6.1-7
  108. - Choqok 0.6.1 is out with the below two patches
  109. * Sat Jun 13 2009 Tejas Dinkar <tejas@gja.in> - 0.6-6
  110. - Fixed the inreplyto (via patch)
  111. * Sat Jun 13 2009 Tejas Dinkar <tejas@gja.in> - 0.6-5
  112. - Fixed the twitpocalypse (via patch)
  113. * Wed May 27 2009 Tejas Dinkar <tejas@gja.in> - 0.6-4
  114. - Changed to 0.6
  115. * Fri Apr 10 2009 Tejas Dinkar <tejas@gja.in> - 0.5-3
  116. - Added the TweetAll patch, remove this by 0.6
  117. * Fri Mar 27 2009 Tejas Dinkar <tejas@gja.in> - 0.5-2
  118. - Added AUTHORS changelog and TODO to doc
  119. * Fri Mar 27 2009 Tejas Dinkar <tejas@gja.in> - 0.5-1
  120. - Initial Version for Fedora