Navigation Menu

Skip to content

Commit

Permalink
[libmlocale] Import packaging from OBS
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell committed Apr 8, 2013
1 parent a784c31 commit 83ae682
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rpm/libmlocale.changes
@@ -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.
125 changes: 125 additions & 0 deletions rpm/libmlocale.spec
@@ -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
39 changes: 39 additions & 0 deletions rpm/libmlocale.yaml
@@ -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}.

0 comments on commit 83ae682

Please sign in to comment.