rpms/librtfcomp/devel librtfcomp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Sat Jan 12 23:36:51 UTC 2008


Author: awjb

Update of /cvs/pkgs/rpms/librtfcomp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9445/devel

Modified Files:
	.cvsignore sources 
Added Files:
	librtfcomp.spec 
Log Message:
- initial import



--- NEW FILE librtfcomp.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name:           librtfcomp
Version:        1.1
Release:        1%{?dist}
Summary:        Library for reading of compressed RTF files

Group:          System Environment/Libraries
License:        LGPLv2
URL:            http://www.synce.org/
Source0:        http://downloads.sourceforge.net/synce/librtfcomp-1.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel Pyrex
BuildRequires:  libtool

%description
Library to read compressed RTF files (development files). Can decompress and
recompress compressed RTF and convert from UTF8 to RTF for use in things like
the AirSync protocols.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       python-devel Pyrex

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package        python
Summary:        Python bindings for the %{name} library
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description python
%{summary}

%prep
%setup -q


%build
%configure --disable-dependency-tracking --disable-static --enable-shared
make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'

# upstream said that these are not needed
rm -fr $RPM_BUILD_ROOT%{_bindir}/

%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENCE
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so

%files python
%defattr(-,root,root,-)
%{python_sitearch}/pyrtfcomp.so

%changelog
* Fri Jan 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 1.1-1
- initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/librtfcomp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Jan 2008 20:38:01 -0000	1.1
+++ .cvsignore	12 Jan 2008 23:36:14 -0000	1.2
@@ -0,0 +1 @@
+librtfcomp-1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/librtfcomp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Jan 2008 20:38:01 -0000	1.1
+++ sources	12 Jan 2008 23:36:14 -0000	1.2
@@ -0,0 +1 @@
+b7f70dc41687d920ec9f47c01f56d6ce  librtfcomp-1.1.tar.gz




More information about the fedora-extras-commits mailing list