[gnustep-examples] - Put COPYING file in the %doc stanza
Jochen Schmitt
s4504kr at fedoraproject.org
Sun Sep 26 18:07:22 UTC 2010
commit 6cd592b8bdf35d8ee7cfa22bb6dece6971813a55
Author: Jochen Schmitt <Jochen at herr-schmitt.de>
Date: Sun Sep 26 19:59:31 2010 +0200
- Put COPYING file in the %doc stanza
.gitignore | 1 +
gnustep-examples.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e51b9c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnustep-examples-1.3.0.tar.gz
diff --git a/gnustep-examples.spec b/gnustep-examples.spec
new file mode 100644
index 0000000..b249f71
--- /dev/null
+++ b/gnustep-examples.spec
@@ -0,0 +1,63 @@
+Name: gnustep-examples
+
+Version: 1.3.0
+Release: 2%{?dist}
+
+Summary: The GNUstep examples
+License: GPLv2+ and GPLv3+
+Group: Applications/Productivity
+
+URL: http://www.gnustep.org
+Source: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc-objc
+BuildRequires: gnustep-make >= 2.4.0
+BuildRequires: gnustep-base-devel
+BuildRequires: gnustep-gui
+BuildRequires: gnustep-gui-devel
+Requires: gnustep-base >= 1.15.1
+Requires: gnustep-back
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This package contains sample applications for the GNUstep framework.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} messages=yes \
+ GNUSTEP_MAKEFILES=%{_libdir}/GNUstep/Makefiles
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+make %{_smp_mflags} install DESTDIR=${RPM_BUILD_ROOT} GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
+ GNUSTEP_MAKEFILES=%{_libdir}/GNUstep/Makefiles
+
+# Copy literal license text from a subdirectory
+# to the top directory.
+
+cp gui/ExampleTheme/Rhea/COPYING .
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(-,root,root)
+%{_bindir}/*
+%{_libdir}/GNUstep/ApplicationSupport/GSTest/
+%{_libdir}/GNUstep/Applications/*.app/
+%{_libdir}/GNUstep/Services/example.service/
+
+# Mailed upstream to put the COPYING
+# file in the top dir initially
+%doc README ChangeLog COPYING
+
+%changelog
+* Wed Sep 22 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.3.0-2
+- Put COPYING file in the %%doc stanza
+
+* Tue Jul 6 2010 Jochen Schmitt <Jochen herr-schmitt de> 1.3.0-1
+- Initial package for Fedora
+
diff --git a/sources b/sources
index e69de29..5538c66 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b6fd31000b125d4aaf217ed038d2d3f3 gnustep-examples-1.3.0.tar.gz
More information about the scm-commits
mailing list