[liblrdf] devel package requires raptor2-devel instead of raptor-devel
Orcan Ogetbil
oget at fedoraproject.org
Sun Jul 8 16:51:35 UTC 2012
commit e51fd7f3b16a614f47cba47b55f330e812066dc0
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date: Sun Jul 8 12:51:34 2012 -0400
devel package requires raptor2-devel instead of raptor-devel
- Some specfile cleanup
liblrdf.spec | 45 ++++++++++++++++++++++++---------------------
1 files changed, 24 insertions(+), 21 deletions(-)
---
diff --git a/liblrdf.spec b/liblrdf.spec
index b4a4d06..55135dc 100644
--- a/liblrdf.spec
+++ b/liblrdf.spec
@@ -1,14 +1,18 @@
Summary: Library for manipulating RDF files describing LADSPA plugins
Name: liblrdf
Version: 0.5.0
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
-URL: http://lrdf.sourceforge.net/
-Source0: http://download.sourceforge.net/lrdf/liblrdf-0.5.0.tar.gz
+URL: https://github.com/swh/LRDF
+# No direct download for the tarball. Download autogenerated
+# tarball from https://github.com/swh/LRDF/tarball/0.5.0
+Source0: liblrdf-%{version}.tar.gz
Source1: liblrdf-README.fedora
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pkgconfig, ladspa-devel, raptor2-devel, openssl-devel
+BuildRequires: pkgconfig
+BuildRequires: ladspa-devel
+BuildRequires: openssl-devel
+BuildRequires: raptor2-devel
Requires: ladspa
%description
@@ -16,10 +20,10 @@ liblrdf is a library to make it easy to manipulate RDF files describing
LADSPA plugins.
%package devel
-Summary: Library for manipulating RDF files describing LADSPA plugins
-Group: Development/Libraries
-Requires: liblrdf = %{version}-%{release}
-Requires: raptor-devel
+Summary: Library for manipulating RDF files describing LADSPA plugins
+Group: Development/Libraries
+Requires: liblrdf%{?_isa} = %{version}-%{release}
+Requires: raptor2-devel
%description devel
This is a library to make it easy to manipulate RDF files describing
@@ -27,36 +31,35 @@ LADSPA plugins. This package includes the development tools.
%prep
%setup -q
-cp %{SOURCE1} README.fedora
+cp -a %{SOURCE1} README.fedora
%build
%configure --disable-static
%install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{make_install}
+rm -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README README.fedora
+%doc AUTHORS COPYING NEWS README
%{_libdir}/liblrdf.so.*
%{_datadir}/ladspa/rdf/ladspa.rdfs
%files devel
-%defattr(-,root,root,-)
+%doc ChangeLog README.fedora
%{_includedir}/*
%{_libdir}/liblrdf.so
%{_libdir}/pkgconfig/*
%changelog
+* Sun Jul 08 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.5.0-3
+- devel package requires raptor2-devel instead of raptor-devel
+- Some specfile cleanup
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
@@ -102,8 +105,8 @@ rm -rf $RPM_BUILD_ROOT
* Sat May 13 2006 Anthony Green <green at redhat.com> 0.4.0-6
- Exclude ladspa.rdfs.
-- Don't use %{__rm} or %{__make} macros.
-- Standardize on $RPM_BUILD_ROOT from %{buildroot}.
+- Don't use %%{__rm} or %%{__make} macros.
+- Standardize on $RPM_BUILD_ROOT from %%{buildroot}.
* Mon Apr 24 2006 Anthony Green <green at redhat.com> 0.4.0-5
- Clean up BuildRequires based on raptor mods.
More information about the scm-commits
mailing list