]>
Commit | Line | Data |
---|---|---|
457f156c JB |
1 | Summary: C# Program Options Parsing library |
2 | Summary(pl.UTF-8): Biblioteka C# do analizy opcji programu | |
3 | Name: dotnet-ndesk-options | |
4 | Version: 0.2.1 | |
5 | Release: 1 | |
6 | License: MIT | |
7 | Group: Libraries | |
8 | Source0: http://www.ndesk.org/archive/ndesk-options/ndesk-options-%{version}.tar.gz | |
9 | # Source0-md5: 2d139bbf4c8be5197128195a65d1c98b | |
10 | Patch0: %{name}-monodir.patch | |
11 | URL: http://www.ndesk.org/Options | |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
14 | BuildRequires: mono-csharp >= 1.9 | |
15 | BuildRequires: mono-monodoc >= 1.9 | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: rpmbuild(macros) >= 1.268 | |
18 | Requires: mono >= 1.9 | |
19 | ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9 | |
20 | ExcludeArch: i386 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | NDesk.Options is a program option parser for C#, inspired by | |
25 | Getopt::Long. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | NDesk.Options to biblioteka C# do analizy opcji programu, inspirowana | |
29 | Getopt::Long. | |
30 | ||
31 | %package devel | |
32 | Summary: Development files for ndesk Options C# library | |
33 | Summary(pl.UTF-8): Pliki programistyczne biblioteki C# ndesk Options | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | Requires: mono-devel >= 1.9 | |
37 | ||
38 | %description devel | |
39 | Development files for ndesk Options C# library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki programistyczne biblioteki C# ndesk Options. | |
43 | ||
44 | %prep | |
45 | %setup -q -n ndesk-options-%{version} | |
46 | %patch0 -p1 | |
47 | ||
48 | %build | |
49 | %{__aclocal} | |
50 | %{__automake} | |
51 | %{__autoconf} | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc AUTHORS COPYING ChangeLog README | |
67 | %dir %{_prefix}/lib/ndesk-options | |
68 | %{_prefix}/lib/ndesk-options/NDesk.Options.dll | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %{_prefix}/lib/ndesk-options/Options.cs | |
73 | %{_prefix}/lib/monodoc/sources/ndesk-options-docs.* | |
74 | %{_pkgconfigdir}/ndesk-options.pc |