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