Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libmlocale] Change install targets for Qt 5 and add packaging for Qt 5.
- Loading branch information
Showing
11 changed files
with
201 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# | ||
# Do NOT Edit the Auto-generated Part! | ||
# Generated by: spectacle version 0.25 | ||
# | ||
|
||
Name: libmlocale5 | ||
|
||
# >> macros | ||
# << macros | ||
|
||
Summary: Contains classes MLocale and friends originally from libmeegotouch | ||
Version: 0.5.0 | ||
Release: 1 | ||
Group: System/Libraries | ||
License: LGPLv2 | ||
URL: https://meego.gitorious.org/meegotouch/libmlocale | ||
Source0: %{name}-%{version}.tar.bz2 | ||
Source100: libmlocale5.yaml | ||
Requires(post): /sbin/ldconfig | ||
Requires(postun): /sbin/ldconfig | ||
BuildRequires: pkgconfig(icu-uc) | ||
BuildRequires: pkgconfig(Qt5Core) | ||
BuildRequires: pkgconfig(Qt5Xml) | ||
BuildRequires: pkgconfig(Qt5Test) | ||
BuildRequires: gconf-devel | ||
BuildRequires: qt5-qttools-linguist | ||
|
||
%description | ||
Contains classes MLocale and friends originally from libmeegotouch. | ||
With that separation one can use those localization facilities without | ||
having to bring on board also the MeeGo Touch GUI toolkit. | ||
|
||
|
||
%package devel | ||
Summary: Devel files for limlocale | ||
Group: Development/Libraries | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description devel | ||
%{summary}. | ||
|
||
%package tests | ||
Summary: Tests for limlocale | ||
Group: Development/Libraries | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description tests | ||
%{summary}. | ||
|
||
%package benchmarks | ||
Summary: Benchmarks files for limlocale | ||
Group: Development/Libraries | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description benchmarks | ||
%{summary}. | ||
|
||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
# >> setup | ||
# << setup | ||
|
||
%build | ||
# >> build pre | ||
# << build pre | ||
|
||
%configure --disable-static | ||
make %{?jobs:-j%jobs} | ||
|
||
# >> build post | ||
# << build post | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
# >> install pre | ||
# << install pre | ||
%make_install | ||
|
||
# >> install post | ||
# << install post | ||
|
||
|
||
%post -p /sbin/ldconfig | ||
|
||
%postun -p /sbin/ldconfig | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%doc LICENSE.LGPL | ||
%{_libdir}/*.so.* | ||
%{_datadir}/mlocale5/icu | ||
# >> files | ||
# << files | ||
|
||
%files devel | ||
%defattr(-,root,root,-) | ||
%{_datadir}/qt5/mkspecs/features/*.prf | ||
%{_libdir}/*.so | ||
%{_libdir}/*.prl | ||
%{_includedir}/mlocale5/*.h | ||
%{_includedir}/mlocale5/M* | ||
%{_libdir}/pkgconfig/*.pc | ||
# >> files devel | ||
# << files devel | ||
|
||
%files tests | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libmlocale-tests5 | ||
%{_datadir}/libmlocale-tests5/tests.xml | ||
# >> files tests | ||
# << files tests | ||
|
||
%files benchmarks | ||
%defattr(-,root,root,-) | ||
%{_libdir}/libmlocale-benchmarks5 | ||
%{_datadir}/libmlocale-benchmarks5/tests.xml | ||
# >> files benchmarks | ||
# << files benchmarks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Name: libmlocale5 | ||
Summary: Contains classes MLocale and friends originally from libmeegotouch | ||
Release: 1 | ||
Description: | | ||
Contains classes MLocale and friends originally from libmeegotouch. | ||
With that separation one can use those localization facilities without | ||
having to bring on board also the MeeGo Touch GUI toolkit. | ||
Version: 0.5.0 | ||
URL: https://meego.gitorious.org/meegotouch/libmlocale | ||
Group: System/Libraries | ||
License: LGPLv2 | ||
Sources: | ||
- "%{name}-%{version}.tar.bz2" | ||
PkgConfigBR: | ||
- icu-uc | ||
- Qt5Core | ||
- Qt5Xml | ||
- Qt5Test | ||
PkgBR: | ||
- gconf-devel | ||
- qt5-qttools-linguist # lrelease and friends | ||
Files: | ||
- "%doc LICENSE.LGPL" | ||
- "%{_libdir}/*.so.*" | ||
- "%{_datadir}/mlocale5/icu" | ||
SubPackages: | ||
- Name: devel | ||
Summary: Devel files for limlocale | ||
Group: Development/Libraries | ||
Description: "%{summary}." | ||
Files: | ||
- "%{_datadir}/qt5/mkspecs/features/*.prf" | ||
- "%{_libdir}/*.so" | ||
- "%{_libdir}/*.prl" | ||
- "%{_includedir}/mlocale5/*.h" | ||
- "%{_includedir}/mlocale5/M*" | ||
- "%{_libdir}/pkgconfig/*.pc" | ||
|
||
- Name: tests | ||
Summary: Tests for limlocale | ||
Group: Development/Libraries | ||
Description: "%{summary}." | ||
Files: | ||
- "%{_libdir}/libmlocale-tests5" | ||
- "%{_datadir}/libmlocale-tests5/tests.xml" | ||
|
||
- Name: benchmarks | ||
Summary: Benchmarks files for limlocale | ||
Group: Development/Libraries | ||
Description: "%{summary}." | ||
Files: | ||
- "%{_libdir}/libmlocale-benchmarks5" | ||
- "%{_datadir}/libmlocale-benchmarks5/tests.xml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters