Guest User

sparkleshare.spec

a guest
Oct 10th, 2012
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name:           sparkleshare
  2. Version:        0.9.3
  3. Release:        1%{?dist}
  4. Summary:        Easy file sharing based on git repositories
  5.  
  6. Group:          Applications/Productivity
  7. License:        GPLv3
  8. URL:            http://www.sparkleshare.org/
  9. Source0:        https://github.com/downloads/hbons/SparkleShare/%{name}-linux-%{version}.tar.gz
  10.  
  11.  
  12. BuildRequires:  mono-devel
  13. BuildRequires:  ndesk-dbus-devel
  14. BuildRequires:  ndesk-dbus-glib-devel
  15. BuildRequires:  notify-sharp-devel
  16. BuildRequires:  desktop-file-utils
  17. BuildRequires:  intltool
  18. #Help files removed on this version
  19. #BuildRequires:  gnome-doc-utils
  20. BuildRequires:  nant
  21. BuildRequires:  webkit-sharp-devel
  22. BuildRequires:  nautilus-python-devel >= 1.1
  23. BuildRequires:  gettext
  24. BuildRequires:  gvfs-devel
  25. Requires:       git
  26. Requires:       yelp
  27. #Requires:       nautilus-python >= 1.1
  28.  
  29. ExclusiveArch:  %{mono_arches}
  30.  
  31.  
  32. #https://fedoraproject.org/wiki/Packaging:Mono#Empty_debuginfo
  33. %global debug_package %{nil}
  34.  
  35.  
  36. %description
  37. Easy file sharing based on git repositories. A special folder is setup and
  38. directories/files placed within are placed in a git-based version control
  39. system and synchronized elsewhere.
  40.  
  41.  
  42. %prep
  43. %setup -q
  44.  
  45.  
  46. %build
  47. #disable user help because of a bug
  48. #https://github.com/hbons/SparkleShare/issues/557
  49. #%configure --prefix=/usr --disable-user-help
  50. #Help files removed on this version
  51. %configure --prefix=/usr
  52. GMCS_FLAGS=-codepage:utf8 make
  53.  
  54.  
  55. %install
  56. make install DESTDIR=%{buildroot}
  57. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
  58. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-invite-opener.desktop
  59. #translations are disabled in this version
  60. #%find_lang %{name}
  61.  
  62.  
  63. %post
  64. /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  65.  
  66.  
  67. %postun
  68. if [ $1 -eq 0 ] ; then
  69.     /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  70.     /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  71. fi
  72.  
  73.  
  74. %posttrans
  75. /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  76.  
  77.  
  78. #translations are disabled in this version
  79. #%files -f %{name}.lang
  80. %files
  81. %{_bindir}/%{name}
  82. %{_datadir}/nautilus-python/extensions/%{name}-nautilus3-extension*
  83. %defattr(0644,root,root,0755)
  84. %{_libdir}/%{name}/
  85. %{_datadir}/%{name}/
  86. %{_datadir}/applications/%{name}.desktop
  87. %{_datadir}/applications/%{name}-invite-opener.desktop
  88. #%{_mandir}/man1/%{name}.1.gz
  89. %{_datadir}/icons/hicolor/16x16/apps/*
  90. %{_datadir}/icons/hicolor/22x22/apps/*
  91. %{_datadir}/icons/hicolor/24x24/apps/*
  92. %{_datadir}/icons/hicolor/256x256/apps/*
  93. %{_datadir}/icons/hicolor/32x32/apps/*
  94. %{_datadir}/icons/hicolor/48x48/apps/*
  95. %{_datadir}/icons/ubuntu-mono-dark/status/24/*
  96. %{_datadir}/icons/ubuntu-mono-light/status/24/*
  97. %doc legal/Authors.txt legal/License.txt legal/Trademark.txt News.txt README.md
  98.  
  99.  
  100. %changelog
  101. * Sun Sep 30 2012 Nikos Roussos <nikos@roussos.cc> 0.9.3-1
  102. - Update to 0.9.3
  103.  
  104. * Sun Sep 02 2012 Nikos Roussos <nikos@roussos.cc> 0.9.2-1
  105. - Update to 0.9.2
  106.  
  107. * Tue Aug 28 2012 Nikos Roussos <nikos@roussos.cc> 0.9.1-1
  108. - Update to 0.9.1
  109.  
  110. * Thu Jul 05 2012 Nikos Roussos <nikos@roussos.cc> 0.9.0-1
  111. - Update to 0.9.0
  112.  
  113. * Wed Mar 21 2012 Nikos Roussos <nikos@roussos.cc> 0.8.4-2
  114. - Patch to comment the misplaced update-desktop-database
  115.  
  116. * Mon Mar 19 2012 Nikos Roussos <nikos@roussos.cc> 0.8.4-1
  117. - Update to 0.8.4
  118.  
  119. * Mon Mar 12 2012 Nikos Roussos <nikos@roussos.cc> 0.8.3-1
  120. - Update to 0.8.3
  121.  
  122. * Fri Mar 02 2012 Dan Horák <dan[at]danny.cz> 0.8.0-4
  123. - set ExclusiveArch
  124.  
  125. * Thu Mar 01 2012 Nikos Roussos <nikos@roussos.cc> 0.8.0-3
  126. - added nautilus-python as dependency
  127.  
  128. * Tue Feb 14 2012 Nikos Roussos <nikos@roussos.cc> 0.8.0-2
  129. - gettext added as buildrequirement, permissions error fixes
  130.  
  131. * Tue Feb 01 2012 Nikos Roussos <nikos@roussos.cc> 0.8.0-1
  132. - Update to 0.8.0
  133.  
  134. * Wed Jun 29 2011 fedora@alexhudson.com - 0.2.4-1
  135. - rebuilt for new upstrema 0.2.4
  136.  
  137. * Wed Jun 15 2011 Alex Hudson <fedora@alexhudson.com> - 0.2.2-1
  138. - rebuilt for new upstream 0.2.2
  139.  
  140. * Wed Jun 08 2011 Alex Hudson <fedora@alexhudson.com> - 0.2.1-1
  141. - rebuilt for new upstream 0.2.1
  142.  
  143. * Tue Jun 07 2011 Alex Hudson - 0.2.0-1
  144. - initial release of 0.2!
  145.  
  146. * Sat May 21 2011 Alex Hudson <fedora@alexhudson.com> - 0.2.beta2rc2-3
  147. - remove nautilus extension for now; causes segfaults in F15 :(
  148.  
  149. * Fri May 20 2011 Alex Hudson <fedora@alexhudson.com> - 0.2.beta2rc2-2
  150. - rebuilt to address python errors in F15
  151.  
  152. * Fri Mar 25 2011 Alex Hudson - 0.2.beta2rc1-1
  153. - Initial build of 0.2rc1
  154.  
  155. * Mon Nov 22 2010 Alex Hudson - 0.2.beta1-7
  156. - rebuilt
  157.  
  158. * Sat Nov 20 2010 Alex Hudson - 0.2.beta1-3
  159. - rebuilt
  160.  
  161. * Thu Sep 02 2010 Alex Hudson - 0.2.alpha2-5
  162. - update from git; now includes end-user help
  163.  
  164. * Tue Aug 17 2010 Alex Hudson - 0.2.alpha2-4
  165. - now includes man page and new icons
  166.  
  167. * Mon Aug 16 2010 Alex Hudson - 0.2.alpha2-3
  168. - slightly cleaner wrt. rpmlint
  169.  
  170. * Sat Aug 07 2010 Alex Hudson - 0.2.alpha1-2
  171. - various fixes from git post-alpha release
  172.  
  173. * Tue Aug 03 2010 Alex Hudson - 0.2.alpha1-1
  174. - Initial release of the 0.2alpha series of SparkleShare
Advertisement
Add Comment
Please, Sign In to add comment