Accepting request 257979 from KDE:Distro:Factory
1 OBS-URL: https://build.opensuse.org/request/show/257979 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lokalize?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
826f5eb272
commit
fbf145bbb1
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 20 15:12:33 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Add recommends on libqt4-sql-sqlite as it is needed by
|
||||||
|
some of the plugins exclusively
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 12 12:41:52 UTC 2014 - tittiatcoke@gmail.com
|
Sun Oct 12 12:41:52 UTC 2014 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@@ -17,54 +17,54 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: lokalize
|
Name: lokalize
|
||||||
BuildRequires: hunspell-devel
|
Version: 4.14.2
|
||||||
BuildRequires: libkde4-devel
|
Release: 0
|
||||||
Summary: KDE Translation Editor
|
Summary: KDE Translation Editor
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
Url: http://www.kde.org/
|
Url: http://www.kde.org/
|
||||||
Version: 4.14.2
|
|
||||||
Release: 0
|
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: hunspell-devel
|
||||||
|
BuildRequires: libkde4-devel
|
||||||
# Requires strigila_po.so (bnc#410716)
|
# Requires strigila_po.so (bnc#410716)
|
||||||
Requires: kdesdk-strigi-analyzers
|
Requires: kdesdk-strigi-analyzers
|
||||||
Requires: libqt4_sql_backend
|
Requires: libqt4_sql_backend
|
||||||
Requires: python-kde4
|
Requires: python-kde4
|
||||||
|
# SQLite is actually needed by some plugins which won't
|
||||||
|
# work with others
|
||||||
|
Recommends: libqt4-sql-sqlite
|
||||||
Provides: kde4-lokalize = 4.3.0
|
Provides: kde4-lokalize = 4.3.0
|
||||||
Obsoletes: kde4-lokalize < 4.3.0
|
Obsoletes: kde4-lokalize < 4.3.0
|
||||||
%kde4_runtime_requires
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{kde4_runtime_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains lokalize, an editor for translations
|
This package contains lokalize, an editor for translations
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||||
%endif
|
%endif
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CXXFLAGS="%{optflags} -fPIC"
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="%{optflags} -fPIC"
|
||||||
%cmake_kde4 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
%cmake_kde4 -d build -- -DCMAKE_CXXFLAGS="%{optflags}" -DCMAKE_CFLAGS="%{optflags}"
|
||||||
#make_jobs
|
#make_jobs
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
cd ..
|
cd ..
|
||||||
%suse_update_desktop_file -r lokalize Development Translation
|
%suse_update_desktop_file -r lokalize Development Translation
|
||||||
%kde_post_install
|
%{kde_post_install}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
Reference in New Issue
Block a user