SPECS: libotr.spec (NEW) - initial
shadzik
shadzik at pld-linux.org
Sun Mar 30 06:58:02 CEST 2008
Author: shadzik Date: Sun Mar 30 04:58:01 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
libotr.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libotr.spec
diff -u /dev/null SPECS/libotr.spec:1.1
--- /dev/null Sun Mar 30 06:58:01 2008
+++ SPECS/libotr.spec Sun Mar 30 06:57:56 2008
@@ -0,0 +1,103 @@
+# $Revision$, $Date$
+Summary: Off-the-Record Messaging Library
+#Summary(pl.UTF-8):
+Name: libotr
+Version: 3.1.0
+Release: 1
+License: LGPL v2.1
+Group: Libraries
+Source0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
+# Source0-md5: 6266a2966cc9e00822add3175b0b77cf
+URL: http://www.cypherpunks.ca/otr/
+#BuildRequires: -
+#Requires: -
+#Requires(pre,post): -
+#Requires(preun): -
+#Requires(postun): -
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the portable OTR Messaging Library, as well as the toolkit to help you forge messages.
+
+#%description -l pl.UTF-8
+
+%package devel
+Summary: Header files for OTR library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki OTR
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for OTR library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki OTR.
+
+%package static
+Summary: Static OTR library
+Summary(pl.UTF-8): Statyczna biblioteka OTR
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static OTR library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka OTR.
+
+%prep
+%setup -q
+
+%build
+# if ac/am/lt/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%{__libtoolize}
+#%{__aclocal}
+#%{__autoconf}
+#%{__autoheader}
+#%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/otr_*
+%attr(755,root,root) %{_libdir}/libotr.so.2.1.0
+%attr(755,root,root) %ghost %{_libdir}/libotr.so.2
+%{_mandir}/man1/otr_*.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libotr.so
+%{_libdir}/libotr.la
+%{_includedir}/libotr
+%{_aclocaldir}/libotr.m4
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libotr.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-03-30 04:57:56 shadzik
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list