Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sandroandrade
libQtUml5
_service:set_version:libQtUml5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:libQtUml5.spec of Package libQtUml5
# # spec file for package libQtUml5 # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libQtUml5 Version: 0.89.git.1358473077 Release: 0 License: SUSE-LGPL-2.1-with-nokia-exception-1.1 or GPL-3.0 Summary: Qt5 UML (Unified Modeling Language) Library Url: http://liveblue.wordpress.com Group: Development/Libraries/X11 Source: qtmof-%{version}.tar.gz BuildRequires: libQtWrappedObjects-private-headers-devel = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description QtUml is a Qt5-based implementation of OMG's UML (Unified Modeling Language) specification. %prep %setup -q -n qtmof-%{version} %package -n libQtUml-devel Summary: Qt Development Kit Group: Development/Libraries/X11 Requires: %name = %version Requires: libQtWrappedObjects-devel Conflicts: libqt4-devel %description -n libQtUml-devel You need this package, if you want to compile programs with qtuml. %package -n libQtUml-private-headers-devel Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: libQtUml-devel = %version Requires: libQtWrappedObjects-private-headers-devel %description -n libQtUml-private-headers-devel This package provides private headers of libqt5-qtuml that are normally not used by application development and that do not have any ABI or API guarantees. The packages that build against these have to require the exact Qt version. %build qmake -r cd src/uml/ make %{?_smp_mflags} cd ../../src/plugins/metamodels/uml/ make %{?_smp_mflags} %install cd src/uml/ make INSTALL_ROOT=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/qt5/examples cp -r ../../examples/uml $RPM_BUILD_ROOT/%{_datadir}/qt5/examples/ cd ../../src/plugins/metamodels/uml/ make INSTALL_ROOT=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT/%_libdir -type f -name '*la' -print -exec perl -pi -e 's, -L%{_builddir}/\S+,,g' {} \; find $RPM_BUILD_ROOT/%_libdir -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %_libdir/libQt5Uml.so.* %_libdir/qt5/plugins/metamodels %_libdir/qt5/plugins/metamodels/libqumlmetamodel.so %files -n libQtUml-devel %defattr(-,root,root,755) %exclude %_includedir/QtUml/5.0.0 %_includedir/QtUml %_libdir/cmake/Qt5Uml %_libdir/libQt5Uml.la %_libdir/libQt5Uml.prl %_libdir/libQt5Uml.so %_libdir/pkgconfig/Qt5Uml.pc %_libdir/qt5/mkspecs/modules/qt_lib_uml.pri %_datadir/qt5 %_datadir/qt5/examples %_datadir/qt5/examples/uml %exclude %_datadir/qt5/examples/uml/valgrind.sh %files -n libQtUml-private-headers-devel %defattr(-,root,root,755) %_includedir/QtUml/5.0.0 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor