c5b93d8
Name:           cmake-fedora
27325b7
Version:        2.1.0
cdbab92
Release:        2%{?dist}
c5b93d8
Summary:        CMake helper modules for fedora developers
c5b93d8
License:        BSD
c5b93d8
Group:          System Environment/Libraries
c5b93d8
URL:            https://fedorahosted.org/%{name}/
c5b93d8
Source0:        https://fedorahosted.org/releases/c/m/%{name}/%{name}-%{version}-Source.tar.gz
910d987
910d987
BuildRequires:  cmake >= 2.6.2
910d987
Requires:       cmake >= 2.6.2
27325b7
Requires:       git
27325b7
Requires:       bodhi-client
910d987
Requires:       koji
27325b7
Requires:       rpm-build
910d987
Requires:       fedpkg
910d987
c5b93d8
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c5b93d8
BuildArch:      noarch
6d3705b
6d3705b
%description
6d3705b
cmake-fedora consist a set of cmake modules that provides
6d3705b
helper macros and targets for fedora developers.
6d3705b
d0ffa0e
d0ffa0e
6d3705b
%prep
3d80df4
%setup -q -n %{name}-%{version}-Source
6d3705b
6d3705b
%build
c5b93d8
# $RPM_OPT_FLAGS should be loaded from cmake macro.
c5b93d8
%cmake -DCMAKE_FEDORA_ENABLE_FEDORA_BUILD=1 .
c5b93d8
make VERBOSE=1 %{?_smp_mflags}
d0ffa0e
27325b7
%clean
27325b7
rm -rf %{buildroot}
27325b7
6d3705b
%install
27325b7
rm -rf %{buildroot}
c5b93d8
make install DESTDIR=%{buildroot}
c5b93d8
c5b93d8
# We install document using doc 
27325b7
rm -fr %{buildroot}%{_docdir}/*
6d3705b
d0ffa0e
6d3705b
6d3705b
%files
27325b7
%defattr(-, root, root, -)
27325b7
%doc AUTHORS README ChangeLog COPYING
27325b7
%config(noreplace) %{_sysconfdir}/%{name}.conf
27325b7
%{_bindir}/%{name}-fedpkg
27325b7
%{_bindir}/%{name}-koji
27325b7
%{_bindir}/%{name}-newprj
c5b93d8
%{_bindir}/koji-build-scratch
27325b7
%{_datadir}/cmake/Modules/DateTimeFormat.cmake
27325b7
%{_datadir}/cmake/Modules/ManageAPIDoc.cmake
27325b7
%{_datadir}/cmake/Modules/ManageArchive.cmake
27325b7
%{_datadir}/cmake/Modules/ManageChangeLogScript.cmake
27325b7
%{_datadir}/cmake/Modules/ManageDependency.cmake
27325b7
%{_datadir}/cmake/Modules/ManageEnvironment.cmake
27325b7
%{_datadir}/cmake/Modules/ManageFile.cmake
27325b7
%{_datadir}/cmake/Modules/ManageGConf.cmake
27325b7
%{_datadir}/cmake/Modules/ManageGettextScript.cmake
27325b7
%{_datadir}/cmake/Modules/ManageMessage.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageRPM.cmake
27325b7
%{_datadir}/cmake/Modules/ManageRPMScript.cmake
27325b7
%{_datadir}/cmake/Modules/ManageRelease.cmake
27325b7
%{_datadir}/cmake/Modules/ManageReleaseFedora.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageSourceVersionControl.cmake
6ea98d6
%{_datadir}/cmake/Modules/ManageString.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageTarget.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageTranslation.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageUninstall.cmake
83ef7fc
%{_datadir}/cmake/Modules/ManageUpload.cmake
27325b7
%{_datadir}/cmake/Modules/ManageVariable.cmake
27325b7
%{_datadir}/cmake/Modules/ManageVersion.cmake
27325b7
%{_datadir}/cmake/Modules/ManageZanata.cmake
27325b7
%{_datadir}/cmake/Modules/ManageZanataScript.cmake
6d3705b
%{_datadir}/cmake/Modules/cmake_uninstall.cmake.in
27325b7
%{_datadir}/cmake/Templates/fedora/CMakeLists.txt.template
27325b7
%{_datadir}/cmake/Templates/fedora/RELEASE-NOTES.txt.template
27325b7
%{_datadir}/cmake/Templates/fedora/bsd-3-clauses.txt
27325b7
%{_datadir}/cmake/Templates/fedora/gpl-2.0.txt
27325b7
%{_datadir}/cmake/Templates/fedora/gpl-3.0.txt
27325b7
%{_datadir}/cmake/Templates/fedora/lgpl-2.1.txt
27325b7
%{_datadir}/cmake/Templates/fedora/lgpl-3.0.txt
27325b7
%{_datadir}/cmake/Templates/fedora/project.spec.in
6d3705b
6d3705b
%changelog
cdbab92
* Mon Aug 11 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.0-2
cdbab92
- Fixed rpmlint warning: macro-in-changelog
cdbab92
27325b7
* Mon Aug 11 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.0-1
27325b7
- Fixed Bug 1093336 - date(1): -u is much portable than --utc
27325b7
- Fix EPEL 7 support.
27325b7
- Enhancement:
27325b7
  + No need to use MAKE_INSTALL_* for rpm files section.
27325b7
    INSTALL at any place works.
27325b7
  + Better handling of ChangeLog:
27325b7
    - ChangeLog will only invoked before make pack_src or make changelog.
27325b7
  + find_lang and files -f .lang are added automatically when
27325b7
    translations exists.
27325b7
  + New targets:
27325b7
    - dist: Produce the source archive file. This is in GNU Standard targets.
27325b7
  + New modules:
27325b7
    - CmakeFedoraScript: Scripts to be invoked in command line.
27325b7
    - ManageChangeLogScript: Scripts for handling ChangeLog.
27325b7
    - ManageRpmScript: RPM Scripts for handling RPM and SPEC.
27325b7
    - ManageZanata: Zanata translation service. Split from ManageTranslation
27325b7
  + New cache variables:
27325b7
    - CMAKE_FEDORA_MODULE_DIR: cmake-fedora modules dir.
27325b7
  + ManageFile: New function: MANAGE_CMAKE_FEDORA_CONF
27325b7
  + ManageFile: New function: MANAGE_FILE_CACHE
27325b7
  + ManageFile: New function: MANAGE_FILE_EXPIRY
27325b7
  + ManageGConf: New macro: MANAGE_GCONF_SCHEMAS
27325b7
  + ManageMessage: New function: M_OUT
27325b7
  + ManageVariable: New macro: CMAKE_FEDORA_CONF_GET_ALL_VARIABLES
27325b7
  + ManageString: New function: STRING_ESCAPE_BACKSLASH
27325b7
  + ManageString: New function: STRING_ESCAPE_DOLLAR
27325b7
  + ManageString: New function: STRING_ESCAPE_QUOTE
27325b7
  + ManageTranslate: New function: ADD_POT_FILE 
27325b7
  + Target rpmlint: rpmlint statistics are now combined.
27325b7
  + cmake-fedora-fedpkg: Default is now build all active 
27325b7
    Fedora (including rawhide) and EPEL releases in fedpkg branches.
27325b7
- Removed:
27325b7
  + cmake-fedora.conf.in is no longer needed.
27325b7
  + TODO should be put in wiki.  
27325b7
  + Modules:
27325b7
    - ManageInstall: This is no longer needed.
27325b7
  + Targets:
27325b7
    - changelog_prev_update: 
27325b7
  + Scripts:
27325b7
    - cmake-fedora-functions is no longer needed.
27325b7
    - cmake-fedora-changelog is no longer needed.
27325b7
  + Variables:
27325b7
    - PRJ_RPM_SPEC_FILE
27325b7
- Changed:
27325b7
  + DateTimeFormat: Macro to function: TODAY
27325b7
  + ManageAPIDOC: MANAGE_APIDOC_DOXYGEN: Macro to function.
27325b7
  + ManageAPIDOC: MANAGE_APIDOC_DOXYGEN: Parameters changed.
27325b7
  + ManageArchive: Only the files that are explicitly added to 
27325b7
      SOURCE_ARCHIVE_CONTENTS will be depended. 
27325b7
  + ManageFile: GIT_GLOB_TO_CMAKE_REGEX: Macro to function.
27325b7
  + ManageString: STRING_ESCAPE_SEMICOLON: Macro to function.
27325b7
  + ManageDependency: MANAGE_DEPENDENCY: Macro to function.
27325b7
  + ManageRelease: MANAGE_RELEASE: Macro to function.
27325b7
  + ManageRelease: MANAGE_RELEASE: Parameters changed.
27325b7
  + ManageRPM: RPM_MOCK_BUILD: Parameters changed.
27325b7
  + ManageSourceVersionControl: MANAGE_SOURCE_VERSION_CONTROL_GIT:
27325b7
    - Macro to function
27325b7
    - Parameters Changed
27325b7
  + ManageSourceVersionControl: MANAGE_SOURCE_VERSION_CONTROL_HG:
27325b7
    - Macro to function
27325b7
    - Parameters Changed
27325b7
    - Mark as experiment
27325b7
  + ManageSourceVersionControl: MANAGE_SOURCE_VERSION_CONTROL_HG:
27325b7
    - Macro to function
27325b7
    - Parameters Changed
27325b7
    - Mark as experiment
27325b7
  + ManageTranslation: MANAGE_GETTEXT:
27325b7
    - Macro to function
27325b7
    - Parameters Changed
27325b7
  + ManageUpload: For all marcos:
27325b7
    - Macros are changed to function
27325b7
    - Parameters has changed.
27325b7
  + PRJ_DOC_DIR: Changed from docdir/<PRJ_NAME>-<PRJ_VER> 
27325b7
    to docdir/<PRJ_NAME>
27325b7
3ba596f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
3ba596f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ba596f
83ef7fc
* Fri Feb 28 2014 Ding-Yi Chen <dchen at redhat.com> - 1.3.0-1
83ef7fc
- Fixed Bug 1002279 - Project configuration bugs when using cmake-fedora-newprj
83ef7fc
- Enhanced:
83ef7fc
  + Support EPEL7
83ef7fc
  + New targets: pack_src_no_force.
83ef7fc
- Fixed:
83ef7fc
  + cmake-fedora-newprj is fixed.
83ef7fc
af16352
* Sat Feb 01 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.7-1
af16352
- Changed:
af16352
  + cmake-fedora.conf.in will also be searched if cmake-fedora.conf does not exist.
af16352
  + Target test is built before pack_src.
af16352
949ff13
* Thu Jan 30 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.6-1
cdbab92
- Resolves Bug 1058631 - ManagePRM generate Broken defattr
949ff13
- Enhancement:
949ff13
  + ManageTarget: ADD_CUSTOM_TARGET_COMMAND: NO_FORCE: new option.
949ff13
  + Projects that includes cmake-fedora as submodule are no longer requires cmake-fedora.conf
949ff13
- Changed:
949ff13
  + ManageTranslation: Fix po build
949ff13
  + ManageRPM: Fix defattr
949ff13
  + ManageReleaseFedora: helper scripts in CMAKE_SOURCE_DIR/cmake-fedora 
949ff13
    can also be located
949ff13
c5b93d8
* Thu Jan 09 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.3-1
c5b93d8
- Resolves Bug 1040333 - RFE: Suiport .gitignore file as 
c5b93d8
  source of CPACK_SOURCE_IGNORE_FILES
c5b93d8
- Resolves Bug 1046213 - RFE: RPM ChangeLog should be generated by 
c5b93d8
  newest build from koji 
c5b93d8
- Enhancement:
c5b93d8
  + ChangeLog.prev is no longer required.
c5b93d8
  + RPM-ChangeLog.prev is provide by koji now.
c5b93d8
  + cmake-fedora-koji: 
c5b93d8
    - new subcommand: newest-build and newest-changelog.
c5b93d8
  + cmake-fedora-changelog: new script. 
c5b93d8
  + New targets:
c5b93d8
    - tag_push: Push to git.
c5b93d8
  + ManageFile:
c5b93d8
    - Add absolute file support
c5b93d8
    - MANAGE_FILE_INSTALL: Add TARGETS support.
c5b93d8
    - MANAGE_FILE_INSTALL: Add RENAME support.
c5b93d8
    - GIT_GLOB_TO_CMAKE_REGEX: Convert git glob to cmake regex
c5b93d8
  + ManageArchive:
c5b93d8
    - PACK_SOURCE_CPACK: Pack with CPack
c5b93d8
    - PACK_SOURCE_ARCHIVE: Now can specify OUTPUT_FILE.
c5b93d8
    - SOURCE_ARCHIVE_CONTENTS_ADD: Add file to source archive.
c5b93d8
    - SOURCE_ARCHIVE_CONTENTS_ADD_NO_CHECK: 
c5b93d8
      Add file to source archive without checking.
c5b93d8
    + ManageDependency: Manage dependencies.
c5b93d8
  + ManageRPM: 
c5b93d8
    - PACK_RPM: New options: SPEC_IN and SPEC.
c5b93d8
    - RPM_SPEC_STRING_ADD: Add a string to SPEC string.
c5b93d8
    - RPM_SPEC_STRING_ADD_DIRECTIVE: Add a directive to SPEC string.
c5b93d8
    - RPM_SPEC_STRING_ADD_TAG: Add a string to SPEC string.
c5b93d8
  + ManageString:
c5b93d8
    - STRING_APPEND: Append a string to a variable.
c5b93d8
    - STRING_PADDING: Padding the string to specified length
c5b93d8
    - STRING_PREPEND: Prepend a string to a variable.
c5b93d8
  + ManageTranslation:
c5b93d8
    - MANAGE_GETTEXT: 
c5b93d8
      + Can specify MSGFMT_OPTIONS and MSGMERGE_OPTIONS
c5b93d8
      + Add gettext-devel to BUILD_REQUIRES.
c5b93d8
  + ManageVariable:
c5b93d8
    - VARIABLE_TO_ARGN: Merge the variable and options to 
c5b93d8
      the form of ARGN.
c5b93d8
  + Cached variables:
c5b93d8
    - RPM_SPEC_CMAKE_FLAG: cmake flags in rpm build.
c5b93d8
    - RPM_SPEC_MAKE_FLAG: make flags in rpm build.
c5b93d8
    - Changed Modules:
c5b93d8
  + ManageArchive:
c5b93d8
    - PACK_SOURCE_ARCHIVE: Can now pass either 
c5b93d8
      empty, outputDir, or source File. 
c5b93d8
  + ManageGConf2: Fixed.
c5b93d8
  + ManageString: STRING_SPLIT: New Option: ALLOW_EMPTY
c5b93d8
  + ManageRPM
c5b93d8
    - Add support of pre, post, and preun
c5b93d8
  + ManageVariable:
c5b93d8
    - VARIABLE_PARSE_ARGN can now handle multiple-appeared options.
c5b93d8
- Changed:
c5b93d8
  + CMake policy no longer enforced by default.
c5b93d8
  + ManageString: STRING_SPLIT is changed from macro to function,
c5b93d8
    so no need to put excessive backslashes.
c5b93d8
- Removed:
c5b93d8
  + Target after_release_commit and related are no longer required 
c5b93d8
    and thus removed.
c5b93d8
c5b93d8
* Tue Nov 26 2013 Ding-Yi Chen <dchen at redhat.com> - 1.1.6-1
c5b93d8
- Enhancement:
c5b93d8
  + Fedora version will now automatically updated.
c5b93d8
  + New macros:
c5b93d8
    - VARIABLE_PARSE_ARGN: Parse the arguments.
c5b93d8
  + New scripts: 
c5b93d8
    cmake-fedora-koji: Koji utilities.
c5b93d8
    cmake-fedora-fedpkg: Fedpkg utilities.
c5b93d8
  + Changed scripts:
c5b93d8
    koji-build-scratch: fedora_1, fedora_2, 
c5b93d8
    epel_1, epel_2 can now be used as build scopes.
c5b93d8
  + BODHI_UPDATE_TYPE is no longer required.
c5b93d8
  + No need to manual edit project.spec.in
c5b93d8
  + ADD_CUSTOM_TARGET_COMMAND now allow "ALL"
c5b93d8
- Bug Fixes:
c5b93d8
  Resolves: Bug 879141 - Excessive quotation mark for target tag_pre
c5b93d8
  Resolves: Bug 992069 - cmake-fedora: FTBFS in rawhide
c5b93d8
- Changed Modules
c5b93d8
  + ManageUpload:
c5b93d8
    - New macros:
c5b93d8
      + MANAGE_UPLOAD_TARGET
c5b93d8
    - Changed macros:
c5b93d8
      + MANAGE_UPLOAD_SCP: parameter fileAlias replaced with targetName
c5b93d8
      + MANAGE_UPLOAD_SFTP: parameter fileAlias replaced with targetName 
c5b93d8
      + MANAGE_UPLOAD_FEDORAHOSTED: parameter fileAlias replaced with targetName
c5b93d8
      + MANAGE_UPLOAD_SOURCEFORGE: parameter fileAlias replaced with targetName
c5b93d8
    - Removed macros:
c5b93d8
      + MANAGE_UPLOAD_MAKE_TARGET
c5b93d8
      + MANAGE_UPLOAD_CMD
c5b93d8
- Removed Directory: 
c5b93d8
  + <PRJ_DOC_DIR>/examples: as the examples can be found in
c5b93d8
    <CMAKE_ROOT>/Templates/fedora
c5b93d8
- Removed Variables: 
c5b93d8
  + FEDORA_AUTO_KARMA
c5b93d8
- Removed Macros:
c5b93d8
  + MANAGE_UPLOAD_MAKE_TARGET
c5b93d8
  + MANAGE_UPLOAD_CMD
c5b93d8
- Removed Targets:
c5b93d8
  + bodhi_new: Submit the package to bodhi
c5b93d8
  + fedpkg_<tag>_build: Build for tag
c5b93d8
  + fedpkg_<tag>_commit: Import, commit and push
c5b93d8
c5b93d8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
c5b93d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c5b93d8
c5b93d8
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
c5b93d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c5b93d8
c5b93d8
* Thu Nov 22 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.5-1
c5b93d8
- Fedora 18 support.
c5b93d8
- Source tarball filename is changed back to name-version-Source.tar.gz
c5b93d8
  to avoid confusion between source generate by cmake-fedora
c5b93d8
  (which contains ChangeLog and projectName.pot) and tarball generation service from hosting site
c5b93d8
  (which does not contain generated files)
c5b93d8
- koji-build-scratch: rawhide build target does not always have suffix -candidate.
c5b93d8
- README updated.
c5b93d8
- TODO updated.
c5b93d8
c5b93d8
* Fri Aug 17 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.4-1
c5b93d8
- Source tarball filename is now name-version.tar.gz instead of name-version-Source.tar.gz
c5b93d8
- after_release_commit depends rpm_changelog_prev_update if RPM supported enabled.
c5b93d8
- Corrected the 'FORCE' of cmake CACHE
c5b93d8
- Update the error messages when cmake-fedora is not installed.
c5b93d8
- Fixed target: zanata_push_trans.
c5b93d8
- Fixed zanata arguments.
c5b93d8
- fedpkg clone is now triggered if the clone directory does not exist when doing the fedpkg_commit,
c5b93d8
  it no longer the listed OUTPUT of an ADD_CUSTOM_COMMAND.
c5b93d8
- Add target: translations as an universal easy target to generate/update translation files.
c5b93d8
c5b93d8
* Mon Jul 23 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.2-1
c5b93d8
- Fixed after_release_commit
c5b93d8
c5b93d8
* Mon Jul 23 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.1-1
c5b93d8
- Greatly simplified the modules design and usage.
c5b93d8
- Release version are now defined in cmake-fedora.conf
c5b93d8
  for easy maintenance.
c5b93d8
- Fix the MANAGE_MESSAGE_LEVEL
c5b93d8
- koji scratch builds are run only once before tagging.
c5b93d8
- CVS support is removed.
c5b93d8
- New command: koji-build-scratch for scratch build on all supported
c5b93d8
  releases.
c5b93d8
- New module: ManageTarget
c5b93d8
- New function: SETTING_STRING_GET_VARIABLE
c5b93d8
- New macro:
c5b93d8
  + ADD_CUSTOM_TARGET_COMMAND
c5b93d8
  + STRING_ESCAPE_SEMICOLON
c5b93d8
- Macros changed behavior:
c5b93d8
  MANAGE_ZANATA: Arguments are changed.
c5b93d8
- Target changed: changelog_update are now separate as:
c5b93d8
  + changelog_prev_update: Update ChangeLog.prev
c5b93d8
  + rpm_changelog_prev_update: Update RPM-ChangeLog.prev
c5b93d8
- Command renamed:
c5b93d8
  + cmake-fedora-newprj.sh to cmake-fedora-newprj
c5b93d8
- Module renamed:
c5b93d8
  + ManageReleaseOnFedora to ManageReleaseFedora
c5b93d8
  + ManageMaintainerTargets to ManageUpload
c5b93d8
  + PackSource to ManageArchive
c5b93d8
  + PackRPM to ManageRPM
c5b93d8
  + UseGConf to ManageGConf
c5b93d8
  + UseDoxygen to ManageAPIDoc
c5b93d8
- Function renamed:
c5b93d8
  + LOAD_RELEASE_FILE to RELEASE_NOTES_READ_FILE
c5b93d8
- Macro renamed:
c5b93d8
  + PACK_SOURCE to PACK_SOURCE_ARCHIVE
c5b93d8
  + USE_MOCK to RPM_MOCK_BUILD
c5b93d8
  + USE_DOXYGEN to MANAGE_APIDOC_DOXYGEN
c5b93d8
  + USE_GETTEXT to MANAGE_GETTEXT
c5b93d8
  + USE_ZANATA to MANAGE_ZANATA
c5b93d8
- Variable renamed: PACK_SOURCE_IGNORE_FILES to SOURCE_ARCHIVE_IGNORE_FILES
c5b93d8
- RELEASE_ON_FEDORA: support new tags: "fedora" for current fedora,
c5b93d8
  and "epel" for current epel.
c5b93d8
- ChangeLog generation rewritten, target version_check no longer need.
c5b93d8
- Removed target: version_check
c5b93d8
- Variable Removed:
c5b93d8
  FEDORA_NEXT_RELEASE
c5b93d8
  FEDORA_NEXT_RELEASE_TAGS
c5b93d8
  FEDORA_LATEST_RELEASE
c5b93d8
  FEDORA_PREVIOUS_RELEASE
c5b93d8
f0eca9c
* Tue Sep 20 2011 Ding-Yi Chen <dchen at redhat.com> - 0.8.1-1
f0eca9c
- Fixed Bug 738958 - cmake-fedora: remove excessive quotation marks for Precompile definition
f0eca9c
- Fixed Bug 733540 - cmake-fedora: "" should be read as empty string
f0eca9c
- ManageEnvironment: Now defined cmake_policy won't get overridden.
f0eca9c
- ManageString: STRING_UNQUOTE is now merely remove quote marks in the beginning and
f0eca9c
    end of string. The string will not be changed otherwise.
f0eca9c
- UseUninstall has renamed as ManageUninstall
f0eca9c
- ManageMaintainerTargets: Reveal MAINTAINER_UPLOAD_COMMAND
f0eca9c
- ManageTranslation: Adopt zanata python client 1.3, arguments are redesigned.
f0eca9c
  + Change target: from "translations" to "gmo_files"
f0eca9c
  + Add targets: zanata_push, zanata_push_trans, zanata_pull_trans
f0eca9c
  + Add argument: ALL_FOR_PUSH, ALL_FOR_PUSH_TRANS and ALL_FOR_PULL
f0eca9c
  + Add argument: OPTIONS for passing arguments.
f0eca9c
- ManageReleaseOnFedora: Now default to build against candidate repos,
f0eca9c
  unless _CANDIDATE_PREFERRED is set to "0".
f0eca9c
f0eca9c
* Thu Aug 18 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.994-1
79fde6f
- Fixed Bug 725615 - cmake-fedora: Use UTC for changelog
79fde6f
- Fixed Bug 725617 - cmake-fedora: target 'tag' should stop when tag file exists.
79fde6f
- Module CompileEnv.cmake is obsoleted by ManageEnvironment.cmake
79fde6f
  because it is what the variable actually store.
79fde6f
- Revised ManageTranslation, now zanata.xml.in can be put to either
79fde6f
  CMAKE_SOURCE_DIR or CMAKE_CURRENT_SOURCE_DIR.
79fde6f
- ManageReleaseOnFedora:
79fde6f
  + New Constants: FEDORA_NEXT_RELEASE_TAGS, FEDORA_SUPPORTED_RELEASE_TAGS.
79fde6f
  + Remove NORAWHIDE, as user can use TAGS to achieve the same.
79fde6f
  + Actually mkdir and clone project if the FedPkg directory is missing.
79fde6f
- ManageTranslation:
79fde6f
  + Fixed zanata.xml path problem
79fde6f
  + Fixed zanata related targets.
79fde6f
- New Variable: CMAKE_FEDORA_TMP_DIR for holding cmake-fedora files.
79fde6f
  + ChangeLog temporary files have moved to this directory.
79fde6f
a80b7d7
* Fri Jul 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.1-1
a80b7d7
- Target release now depends on upload.
a80b7d7
a80b7d7
* Fri Jul 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.0-1
25a71e0
- Fixed target: after_release_commit.
25a71e0
- Add "INCLUDE(ManageRelease)" in template
25a71e0
  so new project will not get CMake command "MANAGE_RELEASE"
25a71e0
- Corrected TODO.
25a71e0
- Corrected ChangeLog.prev and SPECS/RPM-ChangeLog.prev.
25a71e0
- By default, the CMAKE_INSTALL_PREFIX is set as '/usr'.
25a71e0
25a71e0
* Wed Jul 06 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.1-1
25a71e0
- Remove f13 from FEDORA_CURRENT_RELEASE_TAGS, as Fedora 13 is end of life.
25a71e0
- ManageMessage: New module.
25a71e0
  + M_MSG: Controllable verbose output
25a71e0
- ManageRelease: New module.
25a71e0
  + MANAGE_RELEASE: Make release by uploading files to hosting services
25a71e0
- Now ManageReleaseOnFedora includes ManageMaintainerTargets
25a71e0
- Modules are shown what they include and included by.
25a71e0
- Now tag depends on koji_scratch_build, while fedpkg_commit master
25a71e0
  (or other primary branch) depends directly on tag.
25a71e0
- MAINTAINER_SETTING_READ_FILE now can either use MAINTAINER_SETTING, or take
25a71e0
  one argument that define maintainer setting file.
25a71e0
- MANAGE_MAINTAINER_TARGETS_UPLOAD no longer require argument hostService,
25a71e0
  It now relies on HOSTING_SERVICES from maintainer setting file.
25a71e0
- Minimum cmake requirement is now raise to 2.6.
25a71e0
- Targets which perform after release now have the prefix "after_release".
25a71e0
546c506
* Wed Jul 06 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.1-1
546c506
- Remove f13 from FEDORA_CURRENT_RELEASE_TAGS, as Fedora 13 is end of life.
546c506
- ManageMessage: New module.
546c506
  + M_MSG: Controllable verbose output
546c506
- ManageRelease: New module.
546c506
  + MANAGE_RELEASE: Make release by uploading files to hosting services
546c506
- Now ManageReleaseOnFedora includes ManageMaintainerTargets
546c506
- Modules are shown what they include and included by.
546c506
- Now tag depends on koji_scratch_build, while fedpkg_commit master
546c506
  (or other primary branch) depends directly on tag.
546c506
- MAINTAINER_SETTING_READ_FILE now can either use MAINTAINER_SETTING, or take
546c506
  one argument that define maintainer setting file.
546c506
- MANAGE_MAINTAINER_TARGETS_UPLOAD no longer require argument hostService,
546c506
  It now relies on HOSTING_SERVICES from maintainer setting file.
546c506
- Minimum cmake requirement is now raise to 2.6
546c506
22f927a
* Wed Jun 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.0-1
2683a79
- Fixed Bug 684107 - [cmake-fedora] TAGS in USE_FEDPKG is ineffective.
ceba584
- ManageTranslation:
ceba584
  + Renamed from UseGettext
ceba584
  + New Macro: USE_ZANATA() - Zanata support (experiential).
ceba584
  + New Macro: USE_GETTEXT() - Gettext support.
ceba584
    This macro merges GETTEXT_CREATE_POT and GETTEXT_CREATE_TRANSLATIONS,
ceba584
    to simplified the usage and make the macro names more consistent.
ceba584
- ManageReleaseOnFedora:
ceba584
  + New Variable: FEDORA_EPEL_RELEASE_TAGS
ceba584
- Clean up Modules: No unrelated files under Modules/
ceba584
- Removed debug messages of:
ceba584
  CMAKE_MAJOR_VERSION, CMAKE_MINOR_VERSION. CMAKE_PATCH_VERSION,
ceba584
  _cmake_uninstall_in, _koji_tags, _tags.
2683a79
2683a79
* Sun Feb 27 2011 Ding-Yi Chen <dchen at redhat.com> - 0.5.0-1
9fe7c9a
- Macro: RELEASE_ON_FEDORA added.
9fe7c9a
- Target: release_on_fedora added.
9fe7c9a
- Now has more informative error message, when cmake-fedora is not installed.
9fe7c9a
- Fixed UseUninstall
9fe7c9a
- Fixed Bug 670079 - [cmake-fedora] target "release"
9fe7c9a
  will not stop when koji build failed
9fe7c9a
- Fixed Bug 671063 - [cmake-fedora] target "rpmlint"
9fe7c9a
  should not depend on "koji_scratch_build"
9fe7c9a
- Protocol for hosting server should now be specified as "[Hosting]_PROTOCOL".
9fe7c9a
- Refactoring ManageMaintainerTargets.
9fe7c9a
- fedpkg and koji build for every tags are revealed.
9fe7c9a
- Now set rawhide as f16, release dists are f15,f14,f13.
9fe7c9a
- rpm build process is now refined, no unnecessary build.
9fe7c9a
- Renamed target push_svc_tag to push_post_release.
9fe7c9a
- Renamed module UseFedpkg to ManageReleaseOnFedora
9fe7c9a
24de7de
* Fri Jan 07 2011 Ding-Yi Chen <dchen at redhat.com> - 0.4.0-1
24de7de
- New target: release
24de7de
- New target: install_rpms
24de7de
- ./Module should precedes /usr/share/cmake/Modules, so
24de7de
  it always use latest modules.
24de7de
- Fixed Reading a file that contains '\'.
24de7de
- Added Macro PACK_RPM_GET_ARCH
24de7de
- Added target install_rpms for bulk rpms installation.
24de7de
- Target rpm now uses -bb instead of -ba.
24de7de
- Target rpm now depends on srpm.
24de7de
- Source version control logic is split out as ManageSourceVersionControl
24de7de
- Module UseHostingService is renamed as ManageMaintainerTarget
24de7de
- Macro USE_HOSTING_SERVICE_READ_SETTING_FILE is renamed as
24de7de
  MAINTAINER_SETTING_READ_FILE
24de7de
dcf4921
* Sun Dec 19 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.3-1
dcf4921
- Fixed: Support for out-of-source build.
dcf4921
- Fixed: Join the next line if ended with back slash '\'.
dcf4921
- ChangeLog: Now generate from "cmake ." directly.
dcf4921
- changelog: target removed. So it won't do unnecessary rebuild.
dcf4921
1aa8aee
* Tue Nov 09 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.2-1
1aa8aee
- Fixed: Macro invoked with incorrect arguments for macro named STRING_ESCAPE
1aa8aee
  Caused by give and empty string from STRING_TRIM
1aa8aee
- Removed: f12 from FEDORA_CURRENT_RELEASE_TAGS
1aa8aee
b1e6f49
* Mon Nov 08 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.1-1
b1e6f49
- SETTING_FILE_GET_VARIABLES_PATTERN:
b1e6f49
  Fixed: unable to use relative path problem.
b1e6f49
  Fixed: UNQUOTE and NOESCAPE_SEMICOLON can now used together.
9b2b339
1aa8aee
* Wed Nov 03 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.0-1
1aa8aee
- New macro: SETTING_FILE_GET_VARIABLES_PATTERN
1aa8aee
- New macro: PACK_SOURCE_FILES
1aa8aee
- Fixed: Variable lost in SETTING_FILE_GET_ALL_VARIABLES and
1aa8aee
  SETTING_FILE_GET_VARABLE.
1aa8aee
- Fixed: Variable values won't apply in SETTING_FILE_GET_ALL_VARIABLES
1aa8aee
- UseUninstall finds cmake_uninstall.in in additional paths:
1aa8aee
  /usr/share/cmake/Modules and /usr/share/cmake/Modules
1aa8aee
- Minor improvements in CMakeLists.txt and project.spec.in templates.
1aa8aee
bbf178b
* Wed Oct 20 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.4-1
bbf178b
- cmake-fedora-newprj.sh: New option "-e" that extract value from specified
bbf178b
  spec or spec.in.
bbf178b
- Now usage is printed instead of junk output when project_name is not given.
bbf178b
- Source code (whatever is packed) and tarball dependency now checked.
172f668
9b2b339
* Sat Oct 16 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.3-1
9b2b339
- Inserted git pull for each fedpkg targets. Reduce the chance of conflict.
9b2b339
- Fixed target: bodhi_new. So it will actually run this command instead of
9b2b339
just showing it.
9b2b339
fdc6aff
* Fri Oct 15 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.2-1
63c4985
- Add new project building script.
63c4985
- Build for EL-5, EL-6
63c4985
- Add el5, el6 build.
63c4985
- Fixed errors in UseFedpkg.
fdc6aff
- Fixed target: tag
fdc6aff
- Fixed target: bodhi_new
fdc6aff
fdc6aff
* Fri Oct 08 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.4-1
fdc6aff
- Fixed error in UseFedpkg.
fdc6aff
fdc6aff
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.2-1
fdc6aff
- Removed excess spaces.
6d3705b
6d3705b
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.1-1
6d3705b
- Added koji scratch build target.
6d3705b
- Fixed changelog_update.
6d3705b
6d3705b
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.0-1
6d3705b
- Initial package.
6d3705b