| 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 | |
|---|
| 16 | ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 armv4l sparcv9 alpha s390 s390x |
|---|
| 17 | |
|---|
| 18 | %description |
|---|
| 19 | The Flickr.Net API is a .NET Library for interacting with the Flickr API. It |
|---|
| 20 | can be accessed from with any .NET language. |
|---|
| 21 | |
|---|
| 22 | %package devel |
|---|
| 23 | Summary: Development files for Flickr.Net |
|---|
| 24 | Summary(ja): Flickr.Net の開発ファイル |
|---|
| 25 | Group: Development/Libraries |
|---|
| 26 | Requires: %{name} = %{version}-%{release} |
|---|
| 27 | Requires: pkgconfig |
|---|
| 28 | |
|---|
| 29 | %description devel |
|---|
| 30 | The Flickr.Net API is a .NET Library for interacting with the Flickr API. It |
|---|
| 31 | can be accessed from any .NET language. |
|---|
| 32 | |
|---|
| 33 | The %{name}-devel package contains development files for %{name}. |
|---|
| 34 | |
|---|
| 35 | %prep |
|---|
| 36 | %setup -cn FlickrNet -q |
|---|
| 37 | cd FlickrNet |
|---|
| 38 | %patch0 -p1 |
|---|
| 39 | |
|---|
| 40 | sed 's|@LIBDIR@|%{_libdir}|g' %{SOURCE1} > flickrnet.pc |
|---|
| 41 | |
|---|
| 42 | %build |
|---|
| 43 | cd FlickrNet |
|---|
| 44 | gmcs -debug -target:library -out:FlickrNet.dll -r:System.Web.dll -r:System.Drawing.dll *.cs |
|---|
| 45 | |
|---|
| 46 | %install |
|---|
| 47 | rm -rf %{buildroot} |
|---|
| 48 | cd FlickrNet |
|---|
| 49 | gacutil -i FlickrNet.dll -package %{name} -root %{buildroot}%{_libdir} |
|---|
| 50 | install -m 0755 -d %{buildroot}%{_libdir}/pkgconfig |
|---|
| 51 | install -m 0644 -p flickrnet.pc %{buildroot}%{_libdir}/pkgconfig/ |
|---|
| 52 | |
|---|
| 53 | %clean |
|---|
| 54 | rm -rf %{buildroot} |
|---|
| 55 | |
|---|
| 56 | %files |
|---|
| 57 | %defattr(-,root,root,-) |
|---|
| 58 | %{_libdir}/mono/%{name} |
|---|
| 59 | %{_libdir}/mono/gac/FlickrNet |
|---|
| 60 | |
|---|
| 61 | %files devel |
|---|
| 62 | %defattr(-,root,root,-) |
|---|
| 63 | %{_libdir}/pkgconfig/%{name}.pc |
|---|
| 64 | |
|---|
| 65 | %changelog |
|---|
| 66 | * Thu Aug 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-1 |
|---|
| 67 | - initial build for Vine Linux |
|---|
| 68 | |
|---|
| 69 | * Mon Jun 07 2010 Paul Lange <palango@gmx.de> - 2.2-4 |
|---|
| 70 | - Fix pkgconfig files. |
|---|
| 71 | |
|---|
| 72 | * Mon Oct 26 2009 Dennis Gilmore <dennis@ausil.us> - 2.2-3 |
|---|
| 73 | - enable sparcv9 s390 s390x |
|---|
| 74 | |
|---|
| 75 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2 |
|---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 77 | |
|---|
| 78 | * Fri Jun 26 2009 Paul Lange <palango@gmx.de> - 2.2-1 |
|---|
| 79 | - Update to upstream release 2.2. |
|---|
| 80 | |
|---|
| 81 | * Thu Jun 25 2009 Juan Rodriguez <nushio@fedoraproject.org> - 2.1.5-3 |
|---|
| 82 | - Fix libdir on x86_64 |
|---|
| 83 | |
|---|
| 84 | * Tue Jun 02 2009 Paul Lange <palango@gmx.de> - 2.1.5-2 |
|---|
| 85 | enable ppc64 build |
|---|
| 86 | |
|---|
| 87 | * Mon Jan 12 2009 Paul Lange <palango@gmx.de> 2.1.5-1 |
|---|
| 88 | - Initial packaging (based on openSuse package) |
|---|