]>
Commit | Line | Data |
---|---|---|
041eb7c9 ER |
1 | %include /usr/lib/rpm/macros.mono |
2 | %define module TEMPLATE | |
3 | Summary: template for mono/dotnet/.Net packages | |
4 | Summary(pl.UTF-8): - | |
5 | Name: dotnet-%{module} | |
6 | Version: _ | |
7 | Release: 0.1 | |
8 | License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here) | |
9 | Group: Libraries | |
10 | # SF URL: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz | |
11 | Source0: %{name}-%{version}.tar.gz | |
12 | # Source0-md5: - | |
13 | URL: - | |
14 | BuildRequires: rpmbuild(macros) >= 1.268 | |
15 | BuildRequires: rpmbuild(monoautodeps) | |
16 | Requires: mono | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | ||
21 | %package devel | |
22 | Summary: Header files for %{name} .NET library | |
23 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki .NET %{name} | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{version}-%{release} | |
26 | Requires: mono-devel | |
27 | ||
28 | %description devel | |
29 | Header files for %{name} library. | |
30 | ||
31 | %description devel -l pl.UTF-8 | |
32 | Pliki nagłówkowe biblioteki %{name}. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc AUTHORS COPYING README | |
48 | %{_prefix}/lib/mono/gac/foo-sharp-bar | |
49 | ||
50 | %files devel | |
51 | %defattr(644,root,root,755) | |
52 | %{_prefix}/lib/mono/foo-sharp-bar-1.0 | |
53 | %{_pkgconfigdir}/foo-sharp-bar-1.0.pc |