flickrnet-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Name: flickrnet
  2. Version: 2.2
  3. Release: 1%{?_dist_release}
  4. Summary: .NET library to interact with the Flickr API
  5. Summary(ja): Flickr API を利用するための .NET ライブラリ
  6. Group: Development/Libraries
  7. License: LGPLv2
  8. URL: http://www.codeplex.com/FlickrNet
  9. #http://www.codeplex.com/FlickrNet/Release/ProjectReleases.aspx?ReleaseId=3420#ReleaseFiles
  10. Source0: FlickrNet2.2-Src-48055.zip
  11. Source1: flickrnet.pc
  12. Patch0: assemblyinfo.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: mono-devel
  15. ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 armv4l sparcv9 alpha s390 s390x
  16. %description
  17. The Flickr.Net API is a .NET Library for interacting with the Flickr API. It
  18. can be accessed from with any .NET language.
  19. %package devel
  20. Summary: Development files for Flickr.Net
  21. Summary(ja): Flickr.Net の開発ファイル
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig
  25. %description devel
  26. The Flickr.Net API is a .NET Library for interacting with the Flickr API. It
  27. can be accessed from any .NET language.
  28. The %{name}-devel package contains development files for %{name}.
  29. %prep
  30. %setup -cn FlickrNet -q
  31. cd FlickrNet
  32. %patch0 -p1
  33. sed 's|@LIBDIR@|%{_libdir}|g' %{SOURCE1} > flickrnet.pc
  34. %build
  35. cd FlickrNet
  36. gmcs -debug -target:library -out:FlickrNet.dll -r:System.Web.dll -r:System.Drawing.dll *.cs
  37. %install
  38. rm -rf %{buildroot}
  39. cd FlickrNet
  40. gacutil -i FlickrNet.dll -package %{name} -root %{buildroot}%{_libdir}
  41. install -m 0755 -d %{buildroot}%{_libdir}/pkgconfig
  42. install -m 0644 -p flickrnet.pc %{buildroot}%{_libdir}/pkgconfig/
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %defattr(-,root,root,-)
  47. %{_libdir}/mono/%{name}
  48. %{_libdir}/mono/gac/FlickrNet
  49. %files devel
  50. %defattr(-,root,root,-)
  51. %{_libdir}/pkgconfig/%{name}.pc
  52. %changelog
  53. * Thu Aug 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-1
  54. - initial build for Vine Linux
  55. * Mon Jun 07 2010 Paul Lange <palango@gmx.de> - 2.2-4
  56. - Fix pkgconfig files.
  57. * Mon Oct 26 2009 Dennis Gilmore <dennis@ausil.us> - 2.2-3
  58. - enable sparcv9 s390 s390x
  59. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  61. * Fri Jun 26 2009 Paul Lange <palango@gmx.de> - 2.2-1
  62. - Update to upstream release 2.2.
  63. * Thu Jun 25 2009 Juan Rodriguez <nushio@fedoraproject.org> - 2.1.5-3
  64. - Fix libdir on x86_64
  65. * Tue Jun 02 2009 Paul Lange <palango@gmx.de> - 2.1.5-2
  66. enable ppc64 build
  67. * Mon Jan 12 2009 Paul Lange <palango@gmx.de> 2.1.5-1
  68. - Initial packaging (based on openSuse package)