commit c6ee9043b01fbaa4ecc155b7147233914207e974 Author: Elan Ruusamäe <g...@delfi.ee> Date: Sat Mar 16 18:32:13 2013 +0200
new, version 0.3.92 based on fedora package http://nucleo.fedorapeople.org/rpms/trojita/trojita.spec trojita.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) --- diff --git a/trojita.spec b/trojita.spec new file mode 100644 index 0000000..330aa47 --- /dev/null +++ b/trojita.spec @@ -0,0 +1,94 @@ +# TODO +# - localizations proper packaging +%define qtver 4.3.3-3 +Name: trojita +Version: 0.3.92 +Release: 0.2 +Group: X11/Applications/Networking +# Almost everything: dual-licensed under the GPLv2 or GPLv3 +# (with KDE e.V. provision for relicensing) +# src/XtConnect: BSD +# src/Imap/Parser/3rdparty/kcodecs.*: LGPLv2 +# Nokia imports: LGPLv2.1 or GPLv3 +# src/Imap/Parser/3rdparty/rfccodecs.cpp: LGPLv2+ +# src/qwwsmtpclient/: GPLv2 +Summary: Qt IMAP e-mail client +License: (GPLv2 or GPLv3) and BSD and LGPLv2 and (LGPLv2.1 or GPLv3) and LGPLv2+ and GPLv2 +URL: http://trojita.flaska.net/ +Source0: http://downloads.sourceforge.net/trojita/%{name}-%{version}.tar.bz2 +# Source0-md5: 8938d959789f0e20d724a511b265213c +BuildRequires: QtWebKit-devel >= %{qtver} +BuildRequires: desktop-file-utils +BuildRequires: qt4-build >= %{qtver} +BuildRequires: qt4-linguist >= %{qtver} +BuildRequires: qt4-qmake >= %{qtver} +BuildRequires: rpmbuild(macros) >= 1.129 +Requires: QtSql-sqlite3 >= %{qtver} +Requires: desktop-file-utils +Requires: gtk-update-icon-cache +Requires: hicolor-icon-theme +Requires: hicolor-icon-theme +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Trojita is a Qt IMAP e-mail client which: +- Enables you to access your mail anytime, anywhere. +- Does not slow you down. If we can improve the productivity of an + e-mail user, we better do. +- Respects open standards and facilitates modern technologies. We + value the vendor-neutrality that IMAP provides and are committed to be + as interoperable as possible. +- Is efficient - be it at conserving the network bandwidth, keeping + memory use at a reasonable level or not hogging the system's CPU. +- Can be used on many platforms. One UI is not enough for everyone, + but our IMAP core works fine on anything from desktop computers to + cell phones and big ERP systems. +- Plays well with the rest of the ecosystem. We don't like reinventing + wheels, but when the existing wheels quite don't fit the tracks, we're + not afraid of making them work. + +%prep +%setup -q + +%build +qmake-qt4 \ + PREFIX=%{_prefix} + +PATH=%{_libdir}/qt4/bin:$PATH \ +%{__make} \ + CXX="%{__cxx}" \ + CXXFLAGS="%{rpmcxxflags} "'$(DEFINES)' + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + INSTALL_ROOT=$RPM_BUILD_ROOT + +rm $RPM_BUILD_ROOT%{_datadir}/%{name}/locale/trojita_common_x-test.qm + +#%find_lang trojita_common --with-qt + +desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_desktop_database +%update_icon_cache hicolor + +%postun +%update_desktop_database +%update_icon_cache hicolor + +%files +%defattr(644,root,root,755) +%doc LICENSE README +%attr(755,root,root) %{_bindir}/%{name} +%{_desktopdir}/%{name}.desktop +%{_iconsdir}/hicolor/*/apps/%{name}.* + +%dir %{_datadir}/%{name} +# locales +%dir %{_datadir}/%{name}/locale +%{_datadir}/%{name}/locale/trojita_common_*.qm ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/trojita.git/commitdiff/c6ee9043b01fbaa4ecc155b7147233914207e974 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit