> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of maimishr
> Sent: Tuesday, October 12, 2010 7:11 PM
> To: [email protected]
> Subject: [meego-commits] 8322: New package Trunk:Testing/enca
> 
> Hi,
> Adding new package enca in project Trunk:Testing. Please review and accept
> ASAP.
> 
> Justification for this new package:
> 
> Tracker-9.24 build requires libenca
> 
> Thank You,
> maimishr
> 
> [This message was auto-generated]
> 
> ---
> 
> Request #8322:
> 
>   submit:   devel:contentfw/enca(r6) -> Trunk:Testing/enca
> 
> 
> Message:
>     Tracker-9.24 build requires libenca
> 
> State:   new          2010-10-12T04:11:28 maimishr
> Comment: None
> 
> 
> This is a NEW package in Trunk:Testing project.
> The files in the new package:
> enca/
>   |__  libenca-1.12.tar.gz
>   |__  libenca.changes
>   |__  libenca.spec
> 
> The content of the spec file, libenca.spec:
> ================================================================
> ===
> Name: libenca
> Version: 1.12
> Release: 1
> Summary: Extremely Naive Charset Analyser
> Group:   System/Libraries
> License: GPL
GPLv2 or v3?

> URL:     http://viewsvn.cihar.com/debian-enca/trunk
> Source0: %{name}-%{version}.tar.gz
> BuildRequires: recode-devel
> 
> %description
> Extremely Naive Charset Analyser.
> 
> %package devel
> Summary:  Extremely Naive Charset Analyser
> Group:    Development/Libraries/Documentation
It's Document? 

> Requires: %{name} = %{version}-%{release}
> 
> %description devel
> Extremely Naive Charset Analyser - development files
> Enca is an Extremely Naive Charset Analyser. It detects character set and
> encoding of text files and can also convert them to other encodings.
> 
> %package libenca0
> Summary:  Extremely Naive Charset Analyser
> Group:    Libraries
> 
Wrong Group. You might want it to be System/Libraries.

> %description libenca0
> Extremely Naive Charset Analyser - shared library files
> Enca is an Extremely Naive Charset Analyser. It detects character set and
> encoding of text files and can also convert them to other encodings.
> 
> %prep
> %setup -q -n %{name}-%{version}
> 
> %build
> ./configure --prefix=/usr \
%configure and no need to add --prefix=/usr
>             --with-html-dir=/usr/share/doc/enca/html \
>             --libexecdir=/usr/lib \
>           --with-librecode \
>             --with-libiconv \
>             --disable-static \
>           --disable-rpath
> make
> 
> %clean
> rm -rf $RPM_BUILD_ROOT
> 
No need have this section


> %install
> make DESTDIR=%{buildroot} install
Use %make_install 

> rm -rf %{buildroot}/%{_libdir}/libenca.la
> 
%make_install would remove la automatically

> %post -p /sbin/ldconfig
> 
> %postun -p /sbin/ldconfig
> 
> 
> %post libenca0 -p /sbin/ldconfig
> 
> %postun libenca0 -p /sbin/ldconfig
> 
> %files
> %defattr(-,root,root,-)
> %{_bindir}/*
> %{_libdir}/enca/*
> %{_datadir}/man/man1/*
> 
> %files devel
> %defattr(-,root,root,-)
> %{_includedir}/*.h
> %{_libdir}/lib*.so
> %{_libdir}/pkgconfig/*.pc
> %doc %{_datadir}/doc/enca/html/libenca/*
> 
> %files libenca0
> %defattr(-,root,root,-)
> %{_libdir}/lib*.so.*
> 
> ================================================================
> ===
> 
> _______________________________________________
> Meego-commits mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-commits
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to