File meego-ux-media.spec of Package meego-ux-media

# 
# Do not Edit! Generated by:
# spectacle version 0.15
# 
# >> macros
%define qmake \
  qmake -makefile -nocache \\\
  "QMAKE_CFLAGS_RELEASE=${CFLAGS:-%optflags}" \\\
  "QMAKE_CFLAGS_DEBUG=${CFLAGS:-%optflags}" \\\
  "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS:-%optflags}" \\\
  "QMAKE_CXXFLAGS_DEBUG=${CXXFLAGS:-%optflags}" \\\
  QMAKE_STRIP=: \\\
  PREFIX=%{_prefix}

%define qmake_install make install INSTALL_ROOT=%{buildroot}
# << macros

Name:       meego-ux-media
Summary:    MeeGo Media Components
Version:    0.2.11
Release:    2.1
Group:      System/Libraries
License:    Apache 2.0
URL:        http://www.meego.com
Source0:    %{name}-%{version}.tar.bz2
Source100:  meego-ux-media.yaml
Requires:   maemo-video-thumbnailer
Requires:   meegolabs-ux-components
Requires:   meego-ux-components
BuildRequires:  pkgconfig(meego-ux-content)
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  qt-mobility-devel
BuildRequires:  doxygen libmeegotouch-devel libqt4-devel
BuildRequires:  libQtWebKit-devel
#BuildRequires: libqtopengl-devel

%description
Native Qt components for use in creating the MeeGo user experience,
and QML wrapper library and components

Requires: %{name} >= %{version}
Requires: libqtcore4



%package devel
Summary:    Development files for meego-ux-media
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
This package contains the files necessary to develop
media applications using meego-ux-media


%package models
Summary:    Media plugin for list models
Group:      System/Libraries
Requires:   %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%description models
This package contains the library for the photo/music/video
list models and their respective databases. They connect with
tracker to provide qml with lists of media files for user display


%package content
Summary:    Media plugin for content aggregator
Group:      System/Libraries
Requires:   %{name} = %{version}-%{release}

%description content
This package contains a plugin to meego-ux-content to search media content



%prep
%setup -q -n %{name}-%{version}

# >> setup
%qmake
# << setup

%build
# >> build pre
# << build pre


make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%qmake_install

# >> install post
# << install post










%post models -p /sbin/ldconfig

%postun models -p /sbin/ldconfig




%files
%defattr(-,root,root,-)
%{_libdir}/qt4/plugins/imports/MeeGo/Media
# >> files
# << files


%files devel
%defattr(-,root,root,-)
%{_includedir}/meegouxmedia
%{_includedir}/meegouxmedia/*.h
%{_libdir}/libmeegouxmedia.so
%{_libdir}/pkgconfig/*.pc
# >> files devel
# << files devel

%files models
%defattr(-,root,root,-)
%{_libdir}/libmeegouxmedia.so.*
# >> files models
# << files models

%files content
%defattr(-,root,root,-)
%{_libdir}/qt4/plugins/MeeGo
%{_libdir}/qt4/plugins/MeeGo/Content
%{_libdir}/qt4/plugins/MeeGo/Content/libmediaplugin.so
# >> files content
# << files content

%changelog
* Thu Apr 28 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.11
- Fixed the photo album and music playlist tracker calls to comform
  to the latest nfo ontology standard, this allows for verification
  of BMC #15154 and 15474
* Thu Apr 21 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.10
- Changed MediaMultibar to allow the app to create the context menu
- Conversion to meego-ux-components
- Fix to BMC# 15154 and 15474, playlists load immediately and
  add new elements as they are loaded by the database
* Fri Apr 15 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.9
- added a header and footer to the MediaGridView
- Fixed BMC #15598 in MediaToolbar, track progress stays the
  same on rotation
- Fixed BMC #15993: added a share menu to MediaMultiBar
  that works with meego-ux-components
* Fri Apr  1 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.8
- changed the playstatus tag to a local placeholder instead of
  a tracker tag, fixes issues with it popping up erroneously
- Changed the MediaToolbar and VolumeSlider to use the new
  icon set from the theme
- Added a UserContent item type to all three media models, which
  allows filtering on media generated by meego
- Fix BMC #15709: removed the pickers, they're now in
  meego-ux-components
- Added imageextension to MediaGridView to allow thumbanils to
  be rotated along with their images
* Thu Mar 31 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.7
- reordering the multiselect bar
- Album and Artist show correct number of tracks
- moved models into separate subpackage
- Added width/height to PhotoListModel items
- Added VolumeSlider to replace VolumeController in MediaToolbar
- Changed the media button behavior in the mediatoolbar to space
  evenly when the progressbar is disabled
- fixed up the length property for artists and albums
* Wed Mar 23 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.6
- Changed the requestItem call in all the listmodels to allow
  photo/music/video files to be added to the list even if they're
  not in tracker
- added removeItem call to playqueue
* Tue Mar 15 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.2.5
- Added record and stop buttons to the MediaToolbar
- Added dvdimage calls to thumbnailer backend for video
- upgrades to the new components naming
* Tue Mar  8 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.1.4
- Added ability to requestItem by file url as well as tracker urn
* Fri Mar  4 2011 Todd Brandt <todd.e.brandt@intel.com> - 0.1.3
- fixed the SortByDefault problems in the listmodels
- fixed tracknum sorting, and added proper sorting for artist
  and album songs when artists/albums are added to the play
  queue
- Updated MediaToolbar.qml to allow the app to choose between
  play and pause
- Added the MediaMultiBar for mult select options
- Added playlist thumb generation
* Mon Feb 28 2011 Rusty Lynch <rusty.lynch@intel.com> - 0.1.2
- Removing the defunct 'crop' button from the media toolbar
- Use sentence capitalization in music picker per UX team
- Dos2Unix on PhotoPicker.qml and VideoPicker.qml
* Fri Feb 18 2011 Geoff Gustafson <geoff@linux.intel.com> - 0.1.1
- Add meego-ux-content plugin for search capability
* Wed Feb  9 2011 Geoff Gustafson <geoff@linux.intel.com> - 0.1.0
- initial open source release
openSUSE Build Service is sponsored by