Shortened URL:

  1. Name:           granite
  2. Version:        0.2.2
  3. Release:        2%{?dist}
  4. Summary:        GTK extensions for the elementary desktop
  5. Group:          Development/Libraries
  6. License:        LGPLv3
  7. URL:            https://launchpad.net/granite
  8. Source0:        https://launchpad.net/granite/0.2/%{version}/+download/granite-%{version}.tar.gz
  9.  
  10. BuildRequires:  cmake, gettext
  11. BuildRequires:  gtk3-devel, libgee06-devel, gobject-introspection-devel, vala-devel
  12.  
  13. %description
  14. Granite is an extension of GTK. Among other things,
  15. it provides the custom widgets used in elementary apps.
  16.  
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: Development/Libraries
  20. Requires: %{name}%{?_isa} = %{version}-%{release}
  21.  
  22. %description devel
  23. This package contains the development files for %{name}.
  24.  
  25. %prep
  26. %setup -q
  27.  
  28. %build
  29. %cmake .
  30. make %{?_smp_mflags}
  31.  
  32. %install
  33. make install DESTDIR=%{buildroot}
  34. %find_lang %{name}
  35.  
  36. %post
  37. /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  38. /sbin/ldconfig
  39.  
  40. %postun
  41. /sbin/ldconfig
  42. if [ $1 -eq 0 ] ; then
  43.     /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  44.     /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  45. fi
  46.  
  47. %posttrans
  48. /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  49.  
  50. %files -f %{name}.lang
  51. %doc AUTHORS README COPYING
  52. %{_libdir}/libgranite.so.*
  53. %{_libdir}/girepository-1.0/Granite-1.0.typelib
  54. %{_datadir}/icons/*
  55.  
  56. %files devel
  57. %dir %{_includedir}/granite/
  58. %{_includedir}/%{name}/
  59. %{_bindir}/granite-demo
  60. %{_libdir}/libgranite.so
  61. %{_libdir}/pkgconfig/granite.pc
  62. %{_datadir}/gir-1.0/Granite-1.0.gir
  63. %{_datadir}/vala/vapi/granite.deps
  64. %{_datadir}/vala/vapi/granite.vapi
  65.  
  66. %changelog
  67. * Tue Aug 20 2013 TingPing <tingping@tingping.se> - 0.2.2-2
  68. - Formatting
  69.  
  70. * Mon Aug 19 2013 TingPing <tingping@tingping.se> - 0.2.2-1
  71. - Initial Package
  72.  

Posted by Anonymous at 20 Aug 2013, 08:06:18 UTC
Language: rpmspec


Powered by Sticky Notes. Using Fedora skin.
"Sticky Notes" (the web application) is released under the BSD license, Copyright © 2012 Sayak Banerjee.

"Fedora" and the Fedora logo are trademarks of Red Hat, Inc. The Fedora project is maintained and driven by the community. This is a community maintained site. Red Hat is not responsible for content.

Sponsors | Legal | Trademark Guidelines