]>
Commit | Line | Data |
---|---|---|
2a5554c5 | 1 | Summary: .NET support for iPods |
1f3ffbe3 | 2 | Summary(pl.UTF-8): Obsługa iPodów z poziomu .NET |
2a5554c5 | 3 | Name: dotnet-ipod-sharp |
f4a96d27 | 4 | Version: 0.8.5 |
98e9aa92 | 5 | Release: 2 |
1f3ffbe3 JB |
6 | # no real license information, just included COPYING |
7 | License: LGPL v2 | |
8 | Group: Libraries | |
f4a96d27 PZ |
9 | Source0: http://banshee-project.org/files/ipod-sharp/0.8.5/ipod-sharp-%{version}.tar.bz2 |
10 | # Source0-md5: fb7f53f64d825847d578a637cd48dd41 | |
4111af91 | 11 | Patch0: %{name}-dep.patch |
4dbe6ff5 | 12 | Patch1: %{name}-gac.patch |
1f3ffbe3 JB |
13 | URL: http://banshee-project.org/Subprojects/Ipod-sharp |
14 | BuildRequires: autoconf >= 2.50 | |
4111af91 | 15 | BuildRequires: automake >= 1:1.9 |
1f3ffbe3 | 16 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.0 |
4111af91 JB |
17 | BuildRequires: dotnet-ndesk-dbus-sharp-devel |
18 | BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel | |
2a5554c5 | 19 | BuildRequires: mono-csharp >= 1.1.16.1 |
98e9aa92 | 20 | BuildRequires: monodoc >= 2.6 |
2a5554c5 | 21 | BuildRequires: pkgconfig |
c04d1965 | 22 | BuildRequires: rpmbuild(monoautodeps) |
4111af91 | 23 | Suggests: podsleuth >= 0.6.1 |
ee9c7b72 | 24 | ExclusiveArch: %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9 |
2a5554c5 | 25 | ExcludeArch: i386 |
1f3ffbe3 | 26 | # can't be noarch because of pkgconfigdir (use /usr/share/pkgconfig?) |
2a5554c5 PZ |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
1f3ffbe3 | 30 | ipod-sharp provides support for high level features of Apple's iPod, |
2a5554c5 PZ |
31 | like support for audio content, including reading and writing of |
32 | the iTunes/iPod database, and syncing music. ipod-sharp also provides | |
33 | a CIL wrapper for libipoddevice. | |
34 | ||
1f3ffbe3 JB |
35 | %description -l pl.UTF-8 |
36 | ipod-sharp zapewnia obsługę wysokopoziomowych możliwości urządzeń | |
37 | Apple iPod, takich jak obsługa danych dźwiękowych wraz z odczytem i | |
38 | zapisem baz danych iTunes/iPod oraz synchronizacja muzyki. ipod-sharp | |
39 | udostępnia także wrapper CIL dla libipoddevice. | |
40 | ||
8cf53daa JB |
41 | %package devel |
42 | Summary: Development files for ipod-sharp library | |
43 | Summary(pl.UTF-8): Pliki programistyczne biblioteki ipod-sharp | |
44 | Group: Development/Libraries | |
45 | Requires: %{name} = %{version}-%{release} | |
98e9aa92 | 46 | Requires: monodoc >= 2.6 |
8cf53daa JB |
47 | |
48 | %description devel | |
49 | Development files for ipod-sharp library. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki programistyczne biblioteki ipod-sharp. | |
53 | ||
2a5554c5 | 54 | %prep |
4111af91 JB |
55 | %setup -q -n ipod-sharp-%{version} |
56 | %patch0 -p1 | |
4dbe6ff5 | 57 | %patch1 -p1 |
2a5554c5 PZ |
58 | |
59 | %build | |
7cd4baa0 | 60 | %{__aclocal} -I . |
2a5554c5 PZ |
61 | %{__autoconf} |
62 | %{__automake} | |
63 | %configure | |
64 | ||
1f3ffbe3 | 65 | %{__make} -j1 |
2a5554c5 PZ |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
8cf53daa JB |
73 | # replace duplicates by symlinks |
74 | cd $RPM_BUILD_ROOT%{_prefix}/lib/ipod-sharp | |
ef6f57e1 | 75 | for f in ipod-sharp.dll* ipod-sharp-ui.dll* ; do |
8cf53daa JB |
76 | %{__rm} $f |
77 | ln -sf ../mono/gac/ipod-sharp*/*/$f $f | |
78 | done | |
79 | ||
2a5554c5 PZ |
80 | %clean |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog NEWS README | |
8cf53daa JB |
86 | %dir %{_prefix}/lib/ipod-sharp |
87 | %{_prefix}/lib/ipod-sharp/ipod-sharp-firmware.dll* | |
4dbe6ff5 PZ |
88 | %{_prefix}/lib/mono/gac/ipod-sharp |
89 | %{_prefix}/lib/mono/gac/ipod-sharp-ui | |
8cf53daa JB |
90 | |
91 | %files devel | |
92 | %defattr(644,root,root,755) | |
93 | %{_prefix}/lib/ipod-sharp/ipod-sharp.dll* | |
94 | %{_prefix}/lib/ipod-sharp/ipod-sharp-ui.dll* | |
95 | %{_pkgconfigdir}/ipod-sharp.pc | |
96 | %{_pkgconfigdir}/ipod-sharp-ui.pc | |
98e9aa92 | 97 | %{_prefix}/lib/monodoc/sources/ipod-sharp-docs.* |