Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Fedora Release Engineering
b800695445 dist-git conversion 2010-07-29 14:35:01 +00:00
Silas Sewell
4a58b37eb0 Initial import 2010-07-26 23:27:03 +00:00
0206dd767f Initialize branch F-13 for txmpp 2010-07-26 22:41:38 +00:00
5 changed files with 72 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
txmpp-0.0.2.tar.gz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: txmpp
# $Id$
NAME := txmpp
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
dec646a9113aaada5eb423bfcd0f5a92 txmpp-0.0.2.tar.gz

70
txmpp.spec Normal file
View file

@ -0,0 +1,70 @@
Name: txmpp
Version: 0.0.2
Release: 3%{?dist}
Summary: A C++ XMPP library
Group: System Environment/Libraries
License: BSD
URL: http://www.tidg.org/txmpp
Source0: http://github.com/downloads/tidg/txmpp/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel >= 2.0.1
BuildRequires: openssl-devel
BuildRequires: scons
%description
txmpp is a permissively licensed C++ XMPP library.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
txmpp is a permissively licensed C++ XMPP library.
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
scons %{?_smp_mflags} --flags="%{optflags}"
%install
rm -rf %{buildroot}
scons %{?_smp_mflags} --flags="%{optflags}" --install \
--includedir=%{buildroot}/%{_includedir} \
--libdir=%{buildroot}/%{_libdir}
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README.md
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/txmpp
%{_libdir}/*.so
%changelog
* Sun Jul 25 2010 Silas Sewell <silas@sewell.ch> - 0.0.2-3
- Remove expat2
* Sun Jul 25 2010 Silas Sewell <silas@sewell.ch> - 0.0.2-2
- Remove documentation from devel package
- Fix main package group
* Fri Jul 02 2010 Silas Sewell <silas@sewell.ch> - 0.0.2-1
- Release 0.0.2
- Include AUTHORS & CHANGELOG
* Tue Jun 15 2010 Silas Sewell <silas@sewell.ch> - 0.0.1-1
- Initial build