From 0206dd767fa093cc3c7cade7ae1d62fef7724924 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 26 Jul 2010 22:41:38 +0000 Subject: [PATCH 1/3] Initialize branch F-13 for txmpp --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 4a58b37eb0bb711d5f3f30eb523ef8574c4f6579 Mon Sep 17 00:00:00 2001 From: Silas Sewell Date: Mon, 26 Jul 2010 23:27:03 +0000 Subject: [PATCH 2/3] Initial import --- .cvsignore | 1 + import.log | 1 + sources | 1 + txmpp.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 import.log create mode 100644 txmpp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f929276 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +txmpp-0.0.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..7c627b9 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +txmpp-0_0_2-3_fc14:F-13:txmpp-0.0.2-3.fc14.src.rpm:1280186736 diff --git a/sources b/sources index e69de29..da12c10 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +dec646a9113aaada5eb423bfcd0f5a92 txmpp-0.0.2.tar.gz diff --git a/txmpp.spec b/txmpp.spec new file mode 100644 index 0000000..9180213 --- /dev/null +++ b/txmpp.spec @@ -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 - 0.0.2-3 +- Remove expat2 + +* Sun Jul 25 2010 Silas Sewell - 0.0.2-2 +- Remove documentation from devel package +- Fix main package group + +* Fri Jul 02 2010 Silas Sewell - 0.0.2-1 +- Release 0.0.2 +- Include AUTHORS & CHANGELOG + +* Tue Jun 15 2010 Silas Sewell - 0.0.1-1 +- Initial build From b800695445e03b3e08db9617fa7d66922a0bd4f1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:35:01 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 49ef92f..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13 diff --git a/import.log b/import.log deleted file mode 100644 index 7c627b9..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -txmpp-0_0_2-3_fc14:F-13:txmpp-0.0.2-3.fc14.src.rpm:1280186736