commit 3ce805ad5be37ecd6151b42ae123170237d6740d
parent 8510b2178d608dd9f3dbc84e8c1c340e189d9987
Author: Dan Callaghan <djc@djc.id.au>
Date: Sun, 22 Jul 2012 17:21:57 +1000
set up to use tito for building RPMs
Diffstat:
3 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/glibrdf.spec b/glibrdf.spec
@@ -0,0 +1,55 @@
+
+Name: glibrdf
+Version: 0.0.0
+Release: 1%{?dist}
+Summary: GLib wrapper for Redland RDF library
+
+Group: System Environment/Libraries
+License: GPLv3+
+URL: https://github.com/danc86/glibrdf/
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(redland)
+BuildRequires: pkgconfig(raptor2)
+
+%package devel
+Group: Development/Libraries
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description
+A small wrapper around the Redland RDF library (librdf) to make it work nicely
+with GLib and Vala and the rest of the GNOME ecosystem.
+
+%description devel
+This package contains files needed for developing software that uses
+%{name}.
+
+%prep
+%setup -q
+
+%build
+make PREFIX="%{_prefix}" LIBDIR="%{_libdir}" %{?_smp_mflags}
+
+%install
+make PREFIX="%{_prefix}" LIBDIR="%{_libdir}" DESTDIR="%{buildroot}" install
+
+%files
+%doc README.markdown COPYING
+%{_libdir}/libglibrdf.so.0*
+
+%files devel
+%{_includedir}/%{name}.h
+%{_libdir}/libglibrdf.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_datadir}/vala/vapi/%{name}.vapi
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%changelog
+* Sun Jul 22 2012 Dan Callaghan <djc@djc.id.au> 0.0.0-1
+- development version
diff --git a/rel-eng/packages/glibrdf b/rel-eng/packages/glibrdf
@@ -0,0 +1 @@
+0.0.0-1 /
diff --git a/rel-eng/tito.props b/rel-eng/tito.props
@@ -0,0 +1,5 @@
+[globalconfig]
+default_builder = tito.builder.Builder
+default_tagger = tito.tagger.VersionTagger
+changelog_do_not_remove_cherrypick = 0
+changelog_format = %s (%ae)