[Pkg-privacy-commits] [libotr] 04/225: * Fri Jun 17 2005 Tom "spot" Callaway <tcallawa at redhat.com> - reworked for Fedora Extras
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:44:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository libotr.
commit 1edc192d1e50de4fe3dc1d239c647a53503467a3
Author: cypherpunk <cypherpunk>
Date: Fri Jun 17 18:28:52 2005 +0000
* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa at redhat.com>
- reworked for Fedora Extras
---
packaging/fedora/libotr.spec | 73 ++++++++++++++++++--------------------------
1 file changed, 29 insertions(+), 44 deletions(-)
diff --git a/packaging/fedora/libotr.spec b/packaging/fedora/libotr.spec
index 80a3dd1..6153011 100644
--- a/packaging/fedora/libotr.spec
+++ b/packaging/fedora/libotr.spec
@@ -1,37 +1,17 @@
-Summary: Off-The-Record Messaging libraray and toolkit
+Summary: Off-The-Record Messaging library and toolkit
Name: libotr
-%define majver 2
-%define minver 0.2
-Version: %{majver}.%{minver}
-%define debug_package %{nil}
-%define ourrelease 1
-Release: %{ourrelease}
-Source: http://www.cypherpunks.ca/otr/libotr-%{majver}.%{minver}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-buildroot
-Url: http://www.cypherpunks.ca/otr/
-Vendor: Nikita Borisov and Ian Goldberg <otr at cypherpunks.ca>
-Packager: Paul Wouters <paul at cypherpunks.ca>
+Version: 2.0.2
+Release: 2%{?dist}
License: GPL
Group: Applications/Internet
-%define __spec_install_post /usr/lib/rpm/brp-compress || :
-
-%package toolkit
-Summary: the otr toolkit
-Group: Applications/Internet
-Provides: libotr
-Obsoletes: gaim-otr <= 1.0.2
+Source0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
+Url: http://www.cypherpunks.ca/otr/
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Provides: libotr-toolkit = %{version}
+Obsoletes: libotr-toolkit
BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel
-Requires: libgcrypt >= 1.2.0
-Release: %{ourrelease}
-%package devel
-Summary: the otr library and include files
-Group: Applications/Internet
-Release: %{ourrelease}
-Requires: libotr = 2.0.2
-
-
-%description toolkit
+%description
Off-the-Record Messaging Library and Toolkit
v2.0.2, 3 May 2005
@@ -56,34 +36,36 @@ OTR allows you to have private conversations over IM by providing:
For more information on Off-the-Record Messaging, see
http://www.cypherpunks.ca/otr/
+%package devel
+Summary: Development library and include files for libotr
+Group: Applications/Internet
+Requires: %{name} = %{version}-%{release}
%description devel
- Off-the-Record Messaging Library and Toolkit
- v2.0.2, 3 May 2005
The devel package contains the libotr library and the include files
-%description
-A dummy to satisfy rpm
-
%prep
-%setup -q -n libotr-%{majver}.%{minver}
+%setup -q
%build
-%configure --with-pic --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
-%{__make} \
- CFLAGS="${RPM_OPT_FLAGS}" \
- all
+%configure --with-pic
+make %{?_smp_mflags} all
%install
-rm -rf ${RPM_BUILD_ROOT}
-%{__make} \
- DESTDIR=${RPM_BUILD_ROOT} \
+rm -rf $RPM_BUILD_ROOT
+make \
+ DESTDIR=$RPM_BUILD_ROOT \
LIBINSTDIR=%{_libdir} \
install
+rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -96,12 +78,15 @@ rm -rf ${RPM_BUILD_ROOT}
%doc README COPYING.LIB
%{_libdir}/libotr.so
%{_libdir}/libotr.a
-%{_libdir}/libotr.la
+%dir %{_includedir}/libotr
%{_includedir}/libotr/*
%{_datadir}/aclocal/*
%changelog
+* Fri Jun 17 2005 Tom "spot" Callaway <tcallawa at redhat.com>
+- reworked for Fedora Extras
+
* Tue May 3 2005 Ian Goldberg <ian at cypherpunks.ca>
- Bumped version number to 2.0.2
* Wed Feb 16 2005 Ian Goldberg <ian at cypherpunks.ca>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git
More information about the Pkg-privacy-commits
mailing list