[goocanvasmm2] import src.rpm from review

Haïkel Guémar hguemar at fedoraproject.org
Wed Feb 23 19:53:33 UTC 2011


commit b7bcce6b06de441c129d96e6b33c0e47a678f406
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date:   Wed Feb 23 20:53:16 2011 +0100

    import src.rpm from review

 .gitignore        |    1 +
 goocanvasmm2.spec |  101 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 103 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a4f4fc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/goocanvasmm-1.90.3.tar.bz2
diff --git a/goocanvasmm2.spec b/goocanvasmm2.spec
new file mode 100644
index 0000000..55f6d10
--- /dev/null
+++ b/goocanvasmm2.spec
@@ -0,0 +1,101 @@
+%global tarname goocanvasmm
+%global api_ver 2.0
+
+Name:           goocanvasmm2
+Version:        1.90.3
+Release:        1%{?dist}
+Summary:        C++ interface for goocanvas2
+
+Group:          System Environment/Libraries
+License:        LGPLv2+
+URL:            http://www.gtkmm.org/
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{tarname}/1.90/%{tarname}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  gtkmm30-devel >= 2.91.3
+BuildRequires:  goocanvas2-devel >= 1.90.2
+
+%description
+This package provides a C++ interface for goocanvas. It is a
+sub-package of the gtkmm project. The interface provides a convenient
+interface for C++ programmers to create Gnome GUIs with GTK+'s
+flexible object-oriented framework.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       gtkmm30-devel%{?_isa} >= 2.91.3
+Requires:       goocanvas2-devel%{?_isa} >= 1.90.2
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package        doc
+Summary:        Developer documentation for %{name}
+Group:          Documentation
+%if 0%{?fedora} > 9 || 0%{?rhel} > 5
+BuildArch:      noarch
+%endif
+BuildRequires:  doxygen graphviz
+Requires:       gtkmm30-doc
+
+%description      doc
+This package contains developer's documentation for the goocanvasmm2
+library. Goocanvasmm2 is the C++ API for the goocanvas graphics library.
+
+The documentation can be viewed either through the devhelp
+documentation browser or through a web browser.
+
+If using a web browser the documentation is at
+/usr/share/doc/%{tarname}-%{api_ver}
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/%{tarname}-%{api_ver}/
+%{_libdir}/pkgconfig/%{tarname}-%{api_ver}.pc
+
+%files doc
+%defattr(-,root,root,-)
+%doc COPYING
+%doc %{_datadir}/devhelp/books/%{tarname}-%{api_ver}
+%doc %{_docdir}/%{tarname}-%{api_ver}
+
+
+%changelog
+* Fri Feb 11 2011 Haïkel Guémar <hguemar at fedoraproject.org> - 1.90.3-1
+- initial package
+
diff --git a/sources b/sources
index e69de29..90484f2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+188a81fbfcd3ecbc7ed85617e3735a8e  goocanvasmm-1.90.3.tar.bz2


More information about the scm-commits mailing list