[libgta] INITIAL CHECK-IN

Volker Fröhlich volter at fedoraproject.org
Tue Feb 7 07:49:49 UTC 2012


commit 413dd7487d760e6c9113e96b922c0e65f7f3e6ea
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Tue Feb 7 08:49:22 2012 +0100

    INITIAL CHECK-IN

 .gitignore  |    1 +
 libgta.spec |   92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d24e950 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libgta-1.0.2.tar.xz
diff --git a/libgta.spec b/libgta.spec
new file mode 100644
index 0000000..564a736
--- /dev/null
+++ b/libgta.spec
@@ -0,0 +1,92 @@
+Name:      libgta
+Version:   1.0.2 
+Release:   2%{?dist}
+Summary:   Library that implements the Generic Tagged Arrays file format
+Group:     System Environment/Libraries
+License:   LGPLv2+
+URL:       http://gta.nongnu.org
+Source0:   http://download.savannah.nongnu.org/releases/gta/%{name}-%{version}.tar.xz
+BuildRequires: doxygen
+BuildRequires: bzip2-devel
+BuildRequires: zlib-devel
+BuildRequires: xz-devel
+
+%description
+Libgta is a portable library that implements the GTA (Generic Tagged Arrays)
+file format. It provides interfaces for C and C++.
+
+
+%package devel
+Summary:  Development Libraries for %{name}
+Group:    Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package doc
+Summary:  API documentation for %{name}
+Group:    Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+The %{name}-doc package contains HTML API documentation and
+examples for %{name}.
+
+
+%prep
+%setup -q
+
+# Preserve date for headers
+# Sent to gta-list at nongnu.org
+sed -i 's/-m 644/-pm 644/' configure
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+# Remove documentation; will install it with doc macro
+rm -rf %{buildroot}%{_docdir}
+
+
+# Don't build and run the checks
+# Checks must be interrupted
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files 
+%doc COPYING AUTHORS README
+%{_libdir}/%{name}.so.*
+
+%files devel
+%{_libdir}/pkgconfig/gta.pc
+%{_includedir}/gta
+%{_libdir}/%{name}.so
+
+%files doc
+%doc doc/example*
+%doc doc/reference
+
+
+%changelog
+* Tue Feb  7 2012 Volker Fröhlich <volker27 at gmx.at> 1.0.2-2
+- Add a doc sub-package for API documentation
+
+* Thu Jan 28 2012 Volker Fröhlich <volker27 at gmx.at> 1.0.2-1
+- New upstream release
+- Remove DESTDIR correction for install-exec-hook (now upstream)
+
+* Thu Jan  5 2012 Volker Fröhlich <volker27 at gmx.at> 1.0.1-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..1bc0a02 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+921566669683385f295bb6f21d5dedee  libgta-1.0.2.tar.xz


More information about the scm-commits mailing list