]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
basic Mono/.Net template
authorElan Ruusamäe <glen@delfi.ee>
Sat, 24 Jan 2015 13:28:14 +0000 (15:28 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 24 Jan 2015 13:28:14 +0000 (15:28 +0200)
dotnet.spec [new file with mode: 0644]

diff --git a/dotnet.spec b/dotnet.spec
new file mode 100644 (file)
index 0000000..747fa99
--- /dev/null
@@ -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
This page took 0.09968 seconds and 4 git commands to generate.