source: projects/specs/trunk/f/flickrnet/flickrnet-vl.spec @ 1548

Revision 1548, 2.6 KB checked in by daisuke, 12 years ago (diff)

flickrnet: new package, 2.2-1

Line 
1Name:           flickrnet
2Version:        2.2
3Release:        1%{?_dist_release}
4Summary:        .NET library to interact with the Flickr API
5Summary(ja):    Flickr API を利用するための .NET ライブラリ
6Group:          Development/Libraries
7License:        LGPLv2
8URL:            http://www.codeplex.com/FlickrNet
9#http://www.codeplex.com/FlickrNet/Release/ProjectReleases.aspx?ReleaseId=3420#ReleaseFiles
10Source0:        FlickrNet2.2-Src-48055.zip
11Source1:        flickrnet.pc
12Patch0:         assemblyinfo.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires:  mono-devel
15
16ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 armv4l sparcv9 alpha s390 s390x
17
18%description
19The Flickr.Net API is a .NET Library for interacting with the Flickr API. It
20can be accessed from with any .NET language.
21
22%package devel
23Summary:        Development files for Flickr.Net
24Summary(ja):    Flickr.Net の開発ファイル
25Group:          Development/Libraries
26Requires:       %{name} = %{version}-%{release}
27Requires:       pkgconfig
28
29%description devel
30The Flickr.Net API is a .NET Library for interacting with the Flickr API. It
31can be accessed from any .NET language.
32
33The %{name}-devel package contains development files for %{name}.
34
35%prep
36%setup -cn FlickrNet -q
37cd FlickrNet
38%patch0 -p1
39
40sed 's|@LIBDIR@|%{_libdir}|g' %{SOURCE1} > flickrnet.pc
41
42%build
43cd FlickrNet
44gmcs -debug -target:library -out:FlickrNet.dll  -r:System.Web.dll -r:System.Drawing.dll *.cs
45
46%install
47rm -rf %{buildroot}
48cd FlickrNet
49gacutil -i FlickrNet.dll -package %{name} -root %{buildroot}%{_libdir}
50install -m 0755 -d %{buildroot}%{_libdir}/pkgconfig
51install -m 0644 -p flickrnet.pc %{buildroot}%{_libdir}/pkgconfig/
52
53%clean
54rm -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
85enable ppc64 build
86
87* Mon Jan 12 2009 Paul Lange <palango@gmx.de> 2.1.5-1
88- Initial packaging (based on openSuse package)
Note: See TracBrowser for help on using the repository browser.