[projects/template-specs] basic Mono/.Net template
glen
glen at pld-linux.org
Sat Jan 24 14:28:32 CET 2015
commit 041eb7c94601e067a397564944fd428f0257fcb6
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jan 24 15:28:14 2015 +0200
basic Mono/.Net template
dotnet.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/dotnet.spec b/dotnet.spec
new file mode 100644
index 0000000..747fa99
--- /dev/null
+++ b/dotnet.spec
@@ -0,0 +1,53 @@
+%include /usr/lib/rpm/macros.mono
+%define module TEMPLATE
+Summary: template for mono/dotnet/.Net packages
+Summary(pl.UTF-8): -
+Name: dotnet-%{module}
+Version: _
+Release: 0.1
+License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Group: Libraries
+# SF URL: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
+# Source0-md5: -
+URL: -
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: rpmbuild(monoautodeps)
+Requires: mono
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%package devel
+Summary: Header files for %{name} .NET library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki .NET %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: mono-devel
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki %{name}.
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING README
+%{_prefix}/lib/mono/gac/foo-sharp-bar
+
+%files devel
+%defattr(644,root,root,755)
+%{_prefix}/lib/mono/foo-sharp-bar-1.0
+%{_pkgconfigdir}/foo-sharp-bar-1.0.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/041eb7c94601e067a397564944fd428f0257fcb6
More information about the pld-cvs-commit
mailing list