flickcurl-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: flickcurl
  2. Version: 1.18
  3. Release: 1%{?_dist_release}
  4. Summary: C library for the Flickr API
  5. Group: System Environment/Libraries
  6. License: LGPLv2+ or GPLv2+ or ASL 2.0
  7. URL: http://librdf.org/%{name}/
  8. Source0: http://download.dajobe.org/%{name}/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: libxml2-devel, curl-devel, chrpath, raptor-devel
  11. Distribution: Vine Linux
  12. Vendor: Project Vine
  13. Packager: iwaim
  14. %description
  15. Flickcurl is a C library for the Flickr API, handling creating the
  16. requests, signing, token management, calling the API, marshalling
  17. request parameters and decoding responses. It uses libcurl to call the
  18. REST web service and libxml2 to manipulate the XML
  19. responses. Flickcurl supports 100% of the 2009-04-04 version of the
  20. API (see Flickcurl API coverage) including the functions for
  21. photo/video uploading, browsing, searching, adding and editing
  22. comments, groups, notes, photosets, categories, activity, blogs,
  23. favorites, places, tags, machine tags, institutions, pandas and
  24. photo/video metadata. It also includes a program flickrdf to turn
  25. photo metadata, tags, machine tags and places into an RDF triples
  26. description.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}, libxml2-devel, curl-devel, raptor-devel
  31. BuildRequires: pkgconfig
  32. %description devel
  33. The %{name}-devel package contains libraries and header files for
  34. developing applications that use %{name}.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  44. #removing rpaths with chrpath
  45. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickcurl
  46. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/flickrdf
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING AUTHORS README NOTICE
  54. %doc LICENSE-2.0.txt LICENSE.html COPYING.LIB
  55. %doc coverage.html ChangeLog README.html NEWS.html
  56. %{_libdir}/*.so.*
  57. %{_bindir}/flickcurl
  58. %{_bindir}/flickrdf
  59. %{_mandir}/man1/%{name}.1.gz
  60. %{_mandir}/man1/flickrdf.1.gz
  61. %files devel
  62. %defattr(-,root,root,-)
  63. %{_includedir}/*
  64. %{_datadir}/gtk-doc/html/*
  65. %{_libdir}/*.so
  66. %{_libdir}/pkgconfig/%{name}.pc
  67. %{_bindir}/flickcurl-config
  68. %{_mandir}/man1/%{name}-config.1.gz
  69. %changelog
  70. * Sun Sep 4 2011 IWAI, Masaharu <iwai@alib.jp> 1.18-1
  71. - build for Vine Linux: based Fedora 1.18-2
  72. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  74. * Wed May 05 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.18-1
  75. - Updated to 1.18
  76. * Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.16-1
  77. - Updated to 1.16
  78. * Thu Dec 03 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.14-1
  79. - Updated to 1.14
  80. * Thu Aug 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.13-1
  81. - Updated to 1.13
  82. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-3
  85. - Added pkgconfig as devel sub package BR
  86. - Fixed %%files folder *gtk-doc/html ownership
  87. * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-2
  88. - Added raptor-devel require.
  89. * Wed May 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.10-1
  90. - Initial package