attica-vl.spec 2.5 KB

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