attica-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: attica
  2. Version: 0.1.3
  3. Release: 1%{?_dist_release}
  4. Summary: Implementation of the Open Collaboration Services API
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.kde.org
  8. Source0: ftp://ftp.kde.org/pub/kde/stable/attica/attica-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. ## upstreamable patches
  11. # fix Version in libattica.pc
  12. Patch50: attica-0.1.2-pkgconfig.patch
  13. BuildRequires: cmake
  14. BuildRequires: qt4-devel
  15. BuildRequires: openssl-devel
  16. %description
  17. Attica is a Qt library that implements the Open Collaboration Services
  18. API version 1.4.
  19. %package devel
  20. Summary: Development files for %{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. %patch50 -p1 -b .pkgconfig
  29. %build
  30. %ifarch x86_64
  31. PATH="$PATH:`/usr/bin/pkg-config --variable=bindir Qt`"
  32. %endif
  33. mkdir -p %{_target_platform}
  34. pushd %{_target_platform}
  35. %cmake ..
  36. popd
  37. make %{?_smp_mflags} -C %{_target_platform}
  38. %install
  39. rm -rf %{buildroot}
  40. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  41. %clean
  42. rm -rf %{buildroot}
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc COPYING README
  48. %{_libdir}/libattica.so.0*
  49. %files devel
  50. %defattr(-,root,root,-)
  51. %{_includedir}/attica/
  52. %{_libdir}/libattica.so
  53. %{_libdir}/pkgconfig/libattica.pc
  54. %changelog
  55. * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-1
  56. - new upstream release
  57. * Thu Feb 11 2010 Shu KONNO <owa@bg.wakwak.com> - 0.1.2-3
  58. - added qmake path to PATH (if x86_64)
  59. * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.2-2
  60. - initial build for Vine Linux
  61. * Thu Jan 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.2-1
  62. - attica-0.1.2
  63. - patch Version in libattica.pc
  64. - %%build: %%_cmake_skip_rpath
  65. * Fri Dec 18 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.1-1
  66. - attica-0.1.1
  67. * Wed Dec 9 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-3
  68. - upstream tarball
  69. - %files: tighten up a bit, track sonames
  70. * Mon Dec 7 2009 Lorenzo Villani <lvillani@binaryhelix.net> - 0.1.0-2
  71. - Out of sourcetree build
  72. - Use make install/fast
  73. * Sat Dec 5 2009 lvillani <lvillani@enterprise.binaryhelix.net> 0.1.0-1
  74. - Initial release