attica-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: attica
  2. Summary: Implementation of the Open Collaboration Services API
  3. Summary(ja): Open Collaboration Services API の一実装
  4. Version: 0.2.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.kde.org
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/attica/attica-%{version}.tar.bz2
  10. ## upstreamable patches
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: cmake
  13. BuildRequires: qt4-devel
  14. BuildRequires: openssl-devel
  15. %description
  16. Attica is a Qt library that implements the Open Collaboration Services
  17. API version 1.4.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. The %{name}-devel package contains libraries and header files for
  25. developing applications that use %{name}.
  26. %prep
  27. %setup -q
  28. %build
  29. %ifarch x86_64
  30. PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
  31. %endif
  32. mkdir -p %{_target_platform}
  33. pushd %{_target_platform}
  34. %cmake ..
  35. popd
  36. make %{?_smp_mflags} -C %{_target_platform}
  37. %install
  38. rm -rf %{buildroot}
  39. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  40. %clean
  41. rm -rf %{buildroot}
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc COPYING README
  47. %{_libdir}/libattica.so.0*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %{_includedir}/attica/
  51. %{_libdir}/libattica.so
  52. %{_libdir}/pkgconfig/libattica.pc
  53. %changelog
  54. * Tue Jan 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2.0-1
  55. - new upstream release
  56. - added Japanese summary
  57. * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.4-2
  58. - rebuilt with rpm-4.8.1
  59. * Sat Jul 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.4-1
  60. - new upstream release
  61. - dropt Patch50 (merged into upstream)
  62. * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-1
  63. - new upstream release
  64. * Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.1.2-3
  65. - added qmake path to PATH (if x86_64)
  66. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.2-2
  67. - initial build for Vine Linux
  68. * Thu Jan 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-1
  69. - attica-0.1.2
  70. - patch Version in libattica.pc
  71. - %%build: %%_cmake_skip_rpath
  72. * Fri Dec 18 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.1-1
  73. - attica-0.1.1
  74. * Wed Dec 9 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-3
  75. - upstream tarball
  76. - %files: tighten up a bit, track sonames
  77. * Mon Dec 7 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.1.0-2
  78. - Out of sourcetree build
  79. - Use make install/fast
  80. * Sat Dec 5 2009 lvillani <lvillani@enterprise.binaryhelix.net> 0.1.0-1
  81. - Initial release