SPECS: dumb.spec - updated to 0.9.3 - added -devel, -static packag...
darekr
darekr at pld-linux.org
Mon Aug 22 23:03:02 CEST 2005
Author: darekr Date: Mon Aug 22 21:03:02 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.9.3
- added -devel, -static packages
- cosmetics
---- Files affected:
SPECS:
dumb.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/dumb.spec
diff -u SPECS/dumb.spec:1.7 SPECS/dumb.spec:1.8
--- SPECS/dumb.spec:1.7 Sun Jun 20 23:36:37 2004
+++ SPECS/dumb.spec Mon Aug 22 23:02:57 2005
@@ -2,12 +2,12 @@
Summary: DUMB - Dedicated Universal Music Bastardisation
Summary(pl): DUMB - Dedicated Universal Music Bastardisation
Name: dumb
-Version: 0.9.2
-Release: 1
+Version: 0.9.3
+Release: 0.1
License: GPL-like
Group: Development/Libraries
Source0: http://dl.sourceforge.net/dumb/%{name}-%{version}.tar.gz
-# Source0-md5: 0ce45f64934e6d5d7b82a55108596680
+# Source0-md5: f48da5b990aa8aa822d3b6a951baf5c2
URL: http://dumb.sourceforge.net/
BuildRequires: allegro-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,8 +20,32 @@
%description -l pl
Biblioteka DUMB - Dedicated Universal Music Bastardisation.
+%package devel
+Summary: Header files for dumb
+Summary(pl): Pliki nagłówkowe dla dumb
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+dumb header files.
+
+%description devel -l pl
+Pliki nagłówkowe dla dumb.
+
+%package static
+Summary: Static libraries for dumb
+Summary(pl): Statyczne biblioteki dla dumb
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+dumb static libraries.
+
+%description static -l pl
+Biblioteki statyczne dla dumb.
+
%prep
-%setup -q -n %{name}
+%setup -q
%build
cat <<EOF > make/config.txt
@@ -31,14 +55,18 @@
PREFIX := /usr
EOF
-%{__make} all CC="%{__cc}" OFLAGS="%{rpmcflags}"
+%{__make} all \
+ CC="%{__cc}" \
+ OFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
+install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}}
-%{__make} install PREFIX=$RPM_BUILD_ROOT%{_prefix}
-%{__make} install PREFIX=$RPM_BUILD_ROOT%{_prefix} DEBUGMODE=1
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix}
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix} DEBUGMODE=1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -46,8 +74,15 @@
%files
%defattr(644,root,root,755)
%doc *.txt docs/*
+%attr(755,root,root) %{_bindir}/dumb*
+
+%files devel
+%defattr(644,root,root,755)
%{_includedir}/*
-%{_libdir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +90,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/08/22 21:02:57 darekr
+- updated to 0.9.3
+- added -devel, -static packages
+- cosmetics
+
Revision 1.7 2004/06/20 21:36:37 arekm
- fix specflags (quotation here is buggy)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dumb.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list