Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libmlocale] Import packaging from OBS
- Loading branch information
Showing
3 changed files
with
172 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* Mon Dec 10 2012 Marko Saukko <marko.saukko@jollamobile.com> - 0.5.0 | ||
- Updated packaging. | ||
|
||
* Mon Feb 13 2012 Marko Saukko <marko.saukko@gmail.com> - 0.5.0-1 | ||
- Update to version 0.5.0-1 | ||
|
||
* Mon Jan 16 2012 Marko Saukko <marko.saukko@cybercom.com> - 0.3.21 | ||
- Initial packaging for Nemo Mobile. |
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,125 @@ | ||
# | ||
# Do NOT Edit the Auto-generated Part! | ||
# Generated by: spectacle version 0.25 | ||
# | ||
|
||
Name: libmlocale | ||
|
||
# >> 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: meegotouch-libmlocale-%{version}-1.tar.gz | ||
Source100: libmlocale.yaml | ||
Patch0: libmlocale-0.3.21-fix-linking.patch | ||
Requires(post): /sbin/ldconfig | ||
Requires(postun): /sbin/ldconfig | ||
BuildRequires: pkgconfig(icu-uc) | ||
BuildRequires: pkgconfig(QtCore) | ||
BuildRequires: pkgconfig(QtOpenGL) | ||
BuildRequires: pkgconfig(x11) | ||
BuildRequires: gconf-devel | ||
|
||
%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 meegotouch-%{name} | ||
|
||
# libmlocale-0.3.21-fix-linking.patch | ||
%patch0 -p1 | ||
# >> 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,-) | ||
# >> files | ||
%doc LICENSE.LGPL | ||
%{_libdir}/*.so.* | ||
%{_datadir}/mlocale/icu | ||
# << files | ||
|
||
%files devel | ||
%defattr(-,root,root,-) | ||
# >> files devel | ||
%{_datadir}/qt4/mkspecs/features/*.prf | ||
%{_libdir}/*.so | ||
%{_libdir}/*.prl | ||
%{_includedir}/mlocale/*.h | ||
%{_includedir}/mlocale/M* | ||
%{_libdir}/pkgconfig/*.pc | ||
# << files devel | ||
|
||
%files tests | ||
%defattr(-,root,root,-) | ||
# >> files tests | ||
%{_libdir}/libmlocale-tests | ||
%{_datadir}/libmlocale-tests/tests.xml | ||
# << files tests | ||
|
||
%files benchmarks | ||
%defattr(-,root,root,-) | ||
# >> files benchmarks | ||
%{_libdir}/libmlocale-benchmarks | ||
%{_datadir}/libmlocale-benchmarks/tests.xml | ||
# << 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,39 @@ | ||
Name: libmlocale | ||
Summary: Contains classes MLocale and friends originally from libmeegotouch | ||
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: | ||
- meegotouch-libmlocale-%{version}-1.tar.gz | ||
Patches: | ||
- libmlocale-0.3.21-fix-linking.patch | ||
PkgConfigBR: | ||
- icu-uc | ||
- QtCore | ||
- QtOpenGL | ||
- x11 | ||
PkgBR: | ||
- gconf-devel | ||
SubPackages: | ||
- Name: devel | ||
Summary: Devel files for limlocale | ||
Group: Development/Libraries | ||
Description: | | ||
%{summary}. | ||
- Name: tests | ||
Summary: Tests for limlocale | ||
Group: Development/Libraries | ||
Description: | | ||
%{summary}. | ||
- Name: benchmarks | ||
Summary: Benchmarks files for limlocale | ||
Group: Development/Libraries | ||
Description: | | ||
%{summary}. |