]> git.pld-linux.org Git - packages/sratom.git/commitdiff
- new auto/th/sratom-0.2.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 15 Jun 2012 14:21:35 +0000 (14:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sratom.spec -> 1.1

sratom.spec [new file with mode: 0644]

diff --git a/sratom.spec b/sratom.spec
new file mode 100644 (file)
index 0000000..b593e49
--- /dev/null
@@ -0,0 +1,81 @@
+Summary:       Library for serializing LV2 atoms to/from RDF
+Summary(pl.UTF-8):     Biblioteka do serializacji obiektów LV2 do/z RDF
+Name:          sratom
+Version:       0.2.0
+Release:       1
+License:       ISC
+Group:         Libraries
+Source0:       http://download.drobilla.net/%{name}-%{version}.tar.bz2
+# Source0-md5: c03cf2849186818610ffe889be4f5b55
+URL:           http://drobilla.net/software/sratom/
+# urid+atom extensions
+BuildRequires: lv2-devel >= 1.0.0
+BuildRequires: python
+BuildRequires: serd-devel >= 0.14.0
+BuildRequires: sord-devel >= 0.8.0
+Requires:      lv2 >= 1.0.0
+Requires:      serd >= 0.14.0
+Requires:      sord >= 0.8.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sratom is a library for serialising LV2 atoms to/from RDF,
+particularly the Turtle syntax.
+
+%description -l pl.UTF-8
+Sratom to biblioteka do serializacji obiektów LV2 do/z RDF, w
+szczególności składni Turtle.
+
+%package devel
+Summary:       Header files for sratom library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki sratom
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      lv2-devel >= 1.0.0
+Requires:      serd-devel >= 0.14.0
+Requires:      sord-devel >= 0.8.0
+
+%description devel
+Header files for sratom library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki sratom.
+
+%prep
+%setup -q
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+./waf configure \
+       --prefix=%{_prefix} \
+       --libdir=%{_libdir}
+
+./waf -v
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./waf install \
+       --destdir=$RPM_BUILD_ROOT
+
+# let rpm autogenerate dependencies
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING NEWS README
+%attr(755,root,root) %{_libdir}/libsratom-0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsratom-0.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsratom-0.so
+%{_includedir}/sratom-0
+%{_pkgconfigdir}/sratom-0.pc
This page took 0.118708 seconds and 4 git commands to generate.