rpms/adplug/devel adplug-1.5.1-texinfo.patch, NONE, 1.1 adplug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Linus Walleij (snirkel) fedora-extras-commits at redhat.com
Mon May 15 07:29:05 UTC 2006


Author: snirkel

Update of /cvs/extras/rpms/adplug/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10628/devel

Modified Files:
	.cvsignore sources 
Added Files:
	adplug-1.5.1-texinfo.patch adplug.spec 
Log Message:
auto-import adplug-2.0-2 on branch devel from adplug-2.0-2.src.rpm

adplug-1.5.1-texinfo.patch:

--- NEW FILE adplug-1.5.1-texinfo.patch ---
diff -ur adplug-1.5.1.orig/doc/libadplug.texi adplug-1.5.1/doc/libadplug.texi
--- adplug-1.5.1.orig/doc/libadplug.texi	2006-01-01 23:49:53.000000000 +0100
+++ adplug-1.5.1/doc/libadplug.texi	2006-01-01 23:50:04.000000000 +0100
@@ -1,7 +1,6 @@
 \input texinfo   @c -*-texinfo-*-
 @c %**start of header
 @setfilename libadplug.info
- at include version.texi
 @settitle AdPlug Core Library @value{VERSION} Manual
 @c %**end of header
 


--- NEW FILE adplug.spec ---
# SPEC file for AdPlug, primary target is the Fedora Extras
# RPM repository.

Name:		adplug
Version:	2.0
Release:	2%{?dist}
Summary:	A software library for AdLib (OPL2) emulation
URL:		http://adplug.sourceforge.net/
Group:		Applications/Multimedia
Source0:	http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1:	http://download.sourceforge.net/%{name}/adplug.db
Patch0:		adplug-1.5.1-texinfo.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License:	LGPL
BuildRequires:	libbinio-devel >= 1.4
BuildRequires:	pkgconfig
BuildRequires:	texinfo
# This is to resolve the endless disputes of the shared data for this 
# package. Whenever _sharedstatedir contains something acceptable to
# Fedora that can be used instead.
%define shareddata %{_localstatedir}/lib

%description
AdPlug is a free software, cross-platform, hardware independent AdLib 
sound player library, mainly written in C++ and released under the 
LGPL. AdPlug plays sound data, originally created for the AdLib (OPL2) 
audio board, directly from its original format on top of an OPL2 
emulator or by using the real hardware. No OPL chip is required for 
playback. It supports various audio formats from MS-DOS AdLib trackers.

%package devel
Summary:        Development files for AdPlug
Group:          System Environment/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:	libbinio-devel
Requires(post):	/sbin/install-info
Requires(preun): /sbin/install-info

%description devel
This package contains development files for the AdPlug AdLib
(OPL2) emulator.

%prep
%setup -q
# This removes the version.texi dependency
%patch0 -p1

%build
%configure --disable-static --sharedstatedir=%{shareddata} --disable-rpath
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
mkdir -p $RPM_BUILD_ROOT%{shareddata}/%{name}
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{shareddata}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post devel
/sbin/install-info %{_infodir}/libadplug.info.gz %{_infodir}/dir || :

%preun devel
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/libadplug.info.gz %{_infodir}/dir || :
fi

%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%dir %{shareddata}/%{name}/
%config(noreplace) %{shareddata}/%{name}/adplug.db
%{_bindir}/adplugdb
%{_mandir}/man1/adplugdb.1*
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO

%files devel
%defattr(-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h
%{_infodir}/*.gz

%changelog
* Mon May 15 2006 Linus Walleij <triad at df.lth.se> 2.0-2
- Tell package to avoid rpath, import to FE after review by John Mahowald.

* Sat May 6 2006 Linus Walleij <triad at df.lth.se> 2.0-1
- Upstream release the stuff they've been working on for some time now!

* Thu Apr 6 2006 Linus Walleij <triad at df.lth.se> 1.5.1-8.20060323cvs
- Realize that /var/adplug/adplug.db is a real nice place to keep
  the database actually. And it is obviously OK to create and own
  directories under /var/lib as opposed to /var.

* Thu Mar 31 2006 Linus Walleij <triad at df.lth.se> 1.5.1-7.20060323cvs
- Patching to move database from /var/adplug to just /var since
  FHS does not like creation of directories under /var.

* Thu Mar 23 2006 Linus Walleij <triad at df.lth.se> 1.5.1-6.20060323cvs
- Hardcoding the place to store adplugdb since the dispute regarding
  its location never seem to resolve. /var/adplug should be acceptable
  for this package atleast. Also getting a bugfix from CVS.

* Sat Mar 4 2006 Linus Walleij <triad at df.lth.se> 1.5.1-5.20060228cvs
- Include adplug.db too, everyone will want it anyway

* Tue Feb 28 2006 Linus Walleij <triad at df.lth.se> 1.5.1-4.20060228cvs
- Pushed upstream to move adplugdb to sharedstatedir /usr/com

* Sun Jan 15 2006 Linus Walleij <triad at df.lth.se> 1.5.1-3.20060101cvs
- Fixed scriptlet problems under non-shell environments.
- Make adplug-devel require libbinio-devel.

* Sun Jan 09 2006 Linus Walleij <triad at df.lth.se> 1.5.1-2.20060101cvs
- Did a clean-up rollercoaster ride.

* Sun Jan 01 2006 Linus Walleij <triad at df.lth.se> 1.5.1-1.20060101cvs
- We need the CVS version to get going (fixes were initialized in
  upstream by ourselves so we should eat our own dogfood).

* Tue Oct 11 2005 Linus Walleij <triad at df.lth.se> 1.5.1-1
- First try at an AdPlug RPM.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/adplug/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 May 2006 07:26:29 -0000	1.1
+++ .cvsignore	15 May 2006 07:29:04 -0000	1.2
@@ -0,0 +1,2 @@
+adplug-2.0.tar.bz2
+adplug.db


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/adplug/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 May 2006 07:26:29 -0000	1.1
+++ sources	15 May 2006 07:29:04 -0000	1.2
@@ -0,0 +1,2 @@
+48c1bb7c8618c45596d79767dec2e962  adplug-2.0.tar.bz2
+5cbd3df5537700f28c350dbe08695c28  adplug.db




More information about the fedora-extras-commits mailing list