Skip to content

Commit

Permalink
update from buildtools
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandres committed Jun 14, 2012
1 parent c30acbb commit ac77ef8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion RPMINFO.cmake
Expand Up @@ -16,9 +16,11 @@ SET( SPEC_Provides "py2qt = %{version}" )

SET( SPEC_Obsoletes "py2qt < %{version}" ) # the Obsoletes every single pkg wrapped with "" and speparated with spaces

SET( SPEC_Docs "%doc COPYING.GPL2" ) # for docs that should be in the main-pkg

SET( SPEC_DEVEL_Requires "@PROJECTNAME@@@varpfx@_SONAME_MAJOR@ = %{version}" ) # the Requires for the -devel pkg every single pkg wrapped with "" and speparated with spaces
SET( SPEC_DEVEL_Requires ${SPEC_DEVEL_Requires} "glibc-devel" "libstdc++-devel" )

SET( SPEC_DEVEL_Provides "pkgconfig(@PROJECTNAME@) = %{version}" ) # the Provides for the -devel pkg

SET( SPEC_DEVEL_DOCS "" ) # e.g. "%doc examples/*.cc", if there are examples to include in -devel-pkg
SET( SPEC_DEVEL_Docs "" ) # for docs that should be in the devel-pkg
10 changes: 4 additions & 6 deletions resource/template.spec.in
Expand Up @@ -79,7 +79,6 @@ make %{?jobs:-j%jobs}
%install
cd build
make install DESTDIR="$RPM_BUILD_ROOT"
install -d %{buildroot}%{_libdir}/@BASELIB@

%clean
rm -rf "$RPM_BUILD_ROOT"
Expand All @@ -90,18 +89,17 @@ rm -rf "$RPM_BUILD_ROOT"

%files -n @PROJECTNAME@@SONAME_MAJOR@
%defattr(-,root,root)
%dir %{_libdir}/@BASELIB@
%dir %{_libdir}@SPEC_Libdir@
%{_libdir}@SPEC_Libdir@/lib*.so.*
%doc COPYING.GPL2
@SPEC_Docs@

%files devel
%defattr(-,root,root)
%dir %{_libdir}@SPEC_LIBDIR@
%{_libdir}@SPEC_LIBDIR@/lib*.so
%dir %{_libdir}@SPEC_Libdir@
%{_libdir}@SPEC_Libdir@/lib*.so
%{_prefix}/include/yui
%{_libdir}/pkgconfig/@PROJECTNAME@.pc
%{_libdir}/cmake/@PROJECTNAME@
%doc %{_docdir}/@PROJECTNAME@@SONAME_MAJOR@
@SPEC_DEVEL_Docs@

%changelog

0 comments on commit ac77ef8

Please sign in to comment.