summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -4,3 +4,3 @@ Version: 2.0.4
Release: 1
-License: GPL
+License: BSD
URL: http://kin.klever.net/libopkele/
@@ -8,3 +8,7 @@ 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
@@ -20,3 +24,2 @@ interaction to the implementor.
%configure
-
make %{?_smp_mflags}
@@ -25,3 +28,3 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
-%make_install
+make install DESTDIR=%{buildroot}
@@ -30,9 +33,8 @@ rm -rf %{buildroot}
-%post
-ldconfig
+%post -p /sbin/ldconfig
-%postun
-ldconfig
+%postun -p /sbin/ldconfig
%files
+%defattr(-,root,root,-)
%{_libdir}/libopkele.a
@@ -46,3 +48,3 @@ ldconfig
Summary: Development headers for libopkele
-Requires: %{name} = %{version}
+Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -54,2 +56,3 @@ interaction to the implementor.
%files devel
+%defattr(-,root,root,-)
%dir %{_includedir}/opkele