summaryrefslogtreecommitdiffabout
authorDustin Lundquist <dustin@null-ptr.net>2013-03-05 02:21:57 (UTC)
committer Dustin Lundquist <dustin@null-ptr.net>2013-03-05 02:21:57 (UTC)
commit66b0b4a6353bf6c10a222d159df42ee5eade79df (patch) (side-by-side diff)
treedd12629150d14cfd190b8726241db540901f6796
parent29ac9dd2166aaad86a9555ad3a409ad1d2bb479c (diff)
downloadlibopkele-66b0b4a6353bf6c10a222d159df42ee5eade79df.zip
libopkele-66b0b4a6353bf6c10a222d159df42ee5eade79df.tar.gz
libopkele-66b0b4a6353bf6c10a222d159df42ee5eade79df.tar.bz2
Correct license metadata in spec file
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopkele.spec21
1 files changed, 12 insertions, 9 deletions
diff --git a/libopkele.spec b/libopkele.spec
index 35f6d7c..efbaded 100644
--- a/libopkele.spec
+++ b/libopkele.spec
@@ -3,9 +3,13 @@ Name: libopkele
Version: 2.0.4
Release: 1
-License: GPL
+License: BSD
URL: http://kin.klever.net/libopkele/
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: gcc-c++ openssl-devel libcurl-devel libtidy-devel expat-devel
+BuildRequires: expat-devel
+BuildRequires: gcc-c++
+BuildRequires: libcurl-devel
+BuildRequires: libtidy-devel
+BuildRequires: openssl-devel
%description
@@ -19,21 +23,19 @@ interaction to the implementor.
%build
%configure
-
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-%make_install
+make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
-%post
-ldconfig
+%post -p /sbin/ldconfig
-%postun
-ldconfig
+%postun -p /sbin/ldconfig
%files
+%defattr(-,root,root,-)
%{_libdir}/libopkele.a
%{_libdir}/libopkele.la
@@ -45,5 +47,5 @@ ldconfig
%package devel
Summary: Development headers for libopkele
-Requires: %{name} = %{version}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@@ -53,4 +55,5 @@ interaction to the implementor.
%files devel
+%defattr(-,root,root,-)
%dir %{_includedir}/opkele
%{_includedir}/opkele/acconfig.h