c5b93d8
Name:           cmake-fedora
8199512
Version:        2.9.3
5cfa846
Release:        10%{?dist}
c5b93d8
Summary:        CMake helper modules for fedora developers
c5b93d8
License:        BSD
cbdb003
URL:            https://pagure.io/%{name}/
cbdb003
Source0:        https://releases.pagure.org/%{name}/%{name}-%{version}-Source.tar.gz
910d987
910d987
BuildRequires:  cmake >= 2.6.2
b80085d
BuildRequires:  koji
910d987
Requires:       cmake >= 2.6.2
27325b7
Requires:       git
27325b7
Requires:       bodhi-client
910d987
Requires:       koji
27325b7
Requires:       rpm-build
910d987
Requires:       fedpkg
78c1791
Requires:       fedora-packager
65ce697
Requires:       curl
910d987
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 .
5cfa846
%cmake_build
d0ffa0e
6d3705b
%install
5cfa846
%cmake_install
c5b93d8
cbdb003
# We install document using doc
27325b7
rm -fr %{buildroot}%{_docdir}/*
6d3705b
b80085d
%check
65ce697
ctest --output-on-failure
d0ffa0e
6d3705b
6d3705b
%files
cbdb003
%doc AUTHORS README.md ChangeLog COPYING
27325b7
%config(noreplace) %{_sysconfdir}/%{name}.conf
27325b7
%{_bindir}/%{name}-fedpkg
27325b7
%{_bindir}/%{name}-koji
27325b7
%{_bindir}/%{name}-newprj
13bb1db
%{_bindir}/%{name}-pkgdb
78c1791
%{_bindir}/%{name}-reset
13bb1db
%{_bindir}/%{name}-zanata
c5b93d8
%{_bindir}/koji-build-scratch
13bb1db
%{_datadir}/cmake/Modules/CmakeFedoraScript.cmake
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
b80085d
%{_datadir}/cmake/Modules/ManageEnvironmentCommon.cmake
27325b7
%{_datadir}/cmake/Modules/ManageFile.cmake
27325b7
%{_datadir}/cmake/Modules/ManageGConf.cmake
27325b7
%{_datadir}/cmake/Modules/ManageGettextScript.cmake
f7a6e13
%{_datadir}/cmake/Modules/ManageGitScript.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
65ce697
%{_datadir}/cmake/Modules/ManageZanataDefinition.cmake
27325b7
%{_datadir}/cmake/Modules/ManageZanataScript.cmake
b80085d
%{_datadir}/cmake/Modules/ManageZanataSuggest.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
5cfa846
* Fri Aug 07 2020 Takao Fujiwara <fujiwara@redhat.com> - 2.9.3-10
5cfa846
- Resolves: #1863341 FTBFS replace make with cmake_build
5cfa846
ebb088f
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-9
ebb088f
- Second attempt - Rebuilt for
ebb088f
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ebb088f
aa9a33b
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-8
aa9a33b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
aa9a33b
89daf13
* Tue Jan 28 2020 Takao Fujiwara <fujiwara@redhat.com> - 2.9.3-7
89daf13
- Resolves: #1832434 - FTI: Delete Requires packagedb-cli
89daf13
7f9acf3
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-6
7f9acf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7f9acf3
d4267a3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-5
d4267a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d4267a3
139e563
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-4
139e563
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
139e563
d033da6
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3
d033da6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d033da6
21629f3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-2
21629f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
21629f3
8199512
* Tue Aug 01 2017 Ding-Yi Chen <dchen at redhat.com> - 2.9.3-1
8199512
- Fixed cmake-fedora-fedpkg failed to push to bodhi.
8199512
- Target tag_pre now depends on target module-only.
8199512
9bbd3d0
* Fri Jul 28 2017 Ding-Yi Chen <dchen at redhat.com> - 2.9.2-1
9bbd3d0
Fixed RHBZ#1476070 - cmake-fedora-fedpkg failed to handle multiple builds
76a3edf
0472ab0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-2
0472ab0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0472ab0
cbdb003
* Mon Jul 24 2017 Ding-Yi Chen <dchen at redhat.com> - 2.8.0-1
cbdb003
Migrate changes like fedorahosted to pagure.
cbdb003
And move from pkgdb to product definition center (PDC).
cbdb003
- Enhancement:
cbdb003
  + cmake-fedora-pkgdb new sub-commands:
cbdb003
    - git-branch package: List the git-branches of package
cbdb003
    - newest-nvr: Return NVR of master branch
cbdb003
    - newest-changelog: Return the latest ChangeLog in master branch.
cbdb003
- Changes:
cbdb003
  + koji-build-scratch is now back to use koji build --scratch
cbdb003
  + MANAGE_UPLOAD_FEDORAHOSTED is marked as depreciated
cbdb003
    But MANAGE_UPLOAD_PAGURE is not implemented yet, as pagure does not
cbdb003
    support scp upload yet
cbdb003
- Bugs:
cbdb003
  + Fixed RHBZ#1424757 - cmake-fedora: failed to handle f26-pending
cbdb003
  + Fixed RHBZ#1425263 - cmake-fedora: migrate from fedorahosted to pagure
cbdb003
  + Fixed fedpkg --dist depreciate warning
cbdb003
4ba182d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
4ba182d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4ba182d
4a0f985
* Fri Aug 19 2016 Ding-Yi Chen <dchen at redhat.com> - 2.7.1-1
4a0f985
- Bugs:
4a0f985
  + cmake-fedora-fedpkg: fix when git change is at staging, but not committed yet.
4a0f985
78c1791
* Wed Aug 17 2016 Ding-Yi Chen <dchen at redhat.com> - 2.7.0-1
78c1791
- Enhancement:
78c1791
  + cmake-fedora-reset: The program that clean and reset the build environment
78c1791
- Bugs:
78c1791
  + Fixed Bug 1367656 - cmake-fedora-fedpkg: failed when commit is clean
78c1791
0ac1541
* Thu Feb 25 2016 Ding-Yi Chen <dchen at redhat.com> - 2.6.0-1
0ac1541
- Enhancement:
0ac1541
  * ManageTranslation: MANAGE_POT_FILE: new options DOMAIN_NAME, MO_LOCALE_DIR
0ac1541
- Bug fix:
0ac1541
  * cmake-fedora-zanata: remove debug message
0ac1541
  * ManageTranslate: failed to generate pot targets when 
0ac1541
    MANAGE_TRANSLATION_GETTEXT_POT_FILES is not empty.
0ac1541
7b036aa
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
7b036aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7b036aa
ad7a100
* Fri Jan 29 2016 Ding-Yi Chen <dchen at redhat.com> - 2.5.1-1
ad7a100
- Fixed:
ad7a100
  * Out-of-the-source build for ibus-chewing
ad7a100
4b1dd32
* Wed Jan 06 2016 Ding-Yi Chen <dchen at redhat.com> - 2.5.0-1
4b1dd32
- Enhancement:
4b1dd32
  * New Target: changelog_no_force: Does not update ChangeLog if RELEASE-NOTES.txt is newer than ChangeLog.
4b1dd32
- Fixed:
4b1dd32
  * MANAGE_ZANATA: Error message that missing right bracket.
4b1dd32
    Thanks ChangZhu Chen for pointing it out.
4b1dd32
  * Bug 1295278 - cmake-fedora: failed to update version when CMakeCache.txt is newer than RELEASE-NOTES.txt
4b1dd32
13bb1db
* Wed Nov 18 2015 Ding-Yi Chen <dchen at redhat.com> - 2.4.4-1
13bb1db
- Fixed:
13bb1db
  * Bug 1283082 - CmakeFedoraScript.cmake is not found
13bb1db
  * Zanata target generation
13bb1db
  * Missing cmake-fedora-pkgdb
13bb1db
65ce697
* Mon Nov 02 2015 Ding-Yi Chen <dchen at redhat.com> - 2.4.3-1
65ce697
- Enhancement:
65ce697
  * cmake-fedora-pkgdb: New script: pkgdb helper script.
65ce697
  * cmake-fedora-zanata: New script: zanata helper script.
65ce697
- Fixed:
65ce697
  * Resolves: RHBZ 1194797: find -printf is not portable
65ce697
- Changed:
65ce697
  * Support zanata-server and zanata-client 3.7.
65ce697
  * Add additional path to cmake-fedora.conf
65ce697
  * cmake-fedora.conf: Remove bodhi branch, 
65ce697
    use whatever cmake-fedora-pkgdb found. 
65ce697
  * ManageFile: New function: MANAGE_FILE_COMMON_DIR
65ce697
  * ManageString: Macro to function: STRING_UNQUOTE
65ce697
  * koji-build-scratch: Use fedpkg backend instead
65ce697
  * cmake-fedora-fedpkg: Fix
65ce697
888c8d6
* Fri Oct 30 2015 Ding-Yi Chen <dchen at redhat.com> - 2.3.4-3
888c8d6
- Restore the RPM-ChangeLog
888c8d6
a624406
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-2
a624406
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a624406
f7a6e13
* Wed Dec 10 2014 Ding-Yi Chen <dchen at redhat.com> - 2.3.4-1
11dc5f9
- Fixed RHBZ 1144906 - cmake-fedora failed to build target pot_files if the .pot file not exists.
f7a6e13
- ManageDependency: Now able to assign multiple PKG_CONFIG files.
11dc5f9
- ManageGConf: Added "Variables to cache".
11dc5f9
- cmake-fedora.conf: el7 and fc21 is now available in bodhi.
f7a6e13
- ManageRPMScript: Fixed the mo file handling.
f7a6e13
- ManageZanata: Use /usr/share/locale as SYSTEM_LOCALE source instead.
11dc5f9
888c8d6
* Mon Sep 22 2014 Ding-Yi Chen <dchen at redhat.com> - 2.3.1-1
888c8d6
- Fixed RHBZ 1144906 - cmake-fedora failed to build target pot_files if the .pot file not exists.
888c8d6
- ManageDependency: var_CFLAGS and var_LIBS are also cached.
888c8d6
- ManageDependency: var_INCLUDEDIR also includes directories from var_CFLAGS.
888c8d6
- ManageGConf: Added "Variables to cache".
888c8d6
- cmake-fedora.conf: el7 and fc21 is now available in bodhi.
888c8d6
888c8d6
* Tue Aug 26 2014 Ding-Yi Chen <dchen at redhat.com> - 2.3.0-1
888c8d6
- cmake-fedora-fedpkg: fix try_command
888c8d6
- ManageChangeLogScript: New command "make"
888c8d6
888c8d6
* Mon Aug 25 2014 Ding-Yi Chen <dchen at redhat.com> - 2.2.1-1
888c8d6
- ManageEnvironmentCommon: Module of variable for both normal and script mode.
888c8d6
- ManageDependency: Make changes suitable for more generic *nix build.
888c8d6
    e.g. FEDORA_NAME -> PACKAGE_NAME
888c8d6
- ManageZanata: MANAGE_ZANATA: New option CLEAN_ZANATA_XML.
888c8d6
- Workaround for Bug 1115136, otherwise el7 won't work.
888c8d6
888c8d6
* Fri Aug 15 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.3-1
888c8d6
- Fixed cmake-fedora-fedpkg
888c8d6
888c8d6
* Thu Aug 14 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.0-3
888c8d6
- Fix long changelog
888c8d6
888c8d6
* Mon Aug 11 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.0-2
888c8d6
- Fixed rpmlint warning: macro-in-changelog
888c8d6
888c8d6
* Mon Aug 11 2014 Ding-Yi Chen <dchen at redhat.com> - 2.1.0-1
888c8d6
- Fixed Bug 1093336 - date(1): -u is much portable than --utc
888c8d6
- Fix EPEL 7 support.
888c8d6
- See ChangeLog for detailed ChangeLog
888c8d6
888c8d6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
888c8d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
888c8d6
888c8d6
* Fri Feb 28 2014 Ding-Yi Chen <dchen at redhat.com> - 1.3.0-1
888c8d6
- Fixed Bug 1002279 - Project configuration bugs when using cmake-fedora-newprj
888c8d6
- Enhanced:
888c8d6
  + Support EPEL7
888c8d6
  + New targets: pack_src_no_force.
888c8d6
- Fixed:
888c8d6
  + cmake-fedora-newprj is fixed.
888c8d6
888c8d6
* Sat Feb 01 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.7-1
888c8d6
- Changed:
888c8d6
  + cmake-fedora.conf.in will also be searched if cmake-fedora.conf does not exist.
888c8d6
  + Target test is built before pack_src.
888c8d6
888c8d6
* Thu Jan 30 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.6-1
888c8d6
- Resolves Bug 1058631 - ManagePRM generate Broken defattr
888c8d6
- Enhancement:
888c8d6
  + ManageTarget: ADD_CUSTOM_TARGET_COMMAND: NO_FORCE: new option.
888c8d6
  + Projects that includes cmake-fedora as submodule are no longer requires cmake-fedora.conf
888c8d6
- Changed:
888c8d6
  + ManageTranslation: Fix po build
888c8d6
  + ManageRPM: Fix defattr
888c8d6
  + ManageReleaseFedora: helper scripts in CMAKE_SOURCE_DIR/cmake-fedora 
888c8d6
    can also be located
888c8d6
888c8d6
* Thu Jan 09 2014 Ding-Yi Chen <dchen at redhat.com> - 1.2.3-1
888c8d6
- Resolves Bug 1040333 - RFE: Suiport .gitignore file as 
888c8d6
  source of CPACK_SOURCE_IGNORE_FILES
888c8d6
- Resolves Bug 1046213 - RFE: RPM ChangeLog should be generated by 
888c8d6
  newest build from koji 
888c8d6
- Enhancement:
888c8d6
  + ChangeLog.prev is no longer required.
888c8d6
  + RPM-ChangeLog.prev is provide by koji now.
888c8d6
  + cmake-fedora-koji: 
888c8d6
    - new subcommand: newest-build and newest-changelog.
888c8d6
  + cmake-fedora-changelog: new script. 
888c8d6
  + New targets:
888c8d6
    - tag_push: Push to git.
888c8d6
  + ManageFile:
888c8d6
    - Add absolute file support
888c8d6
    - MANAGE_FILE_INSTALL: Add TARGETS support.
888c8d6
    - MANAGE_FILE_INSTALL: Add RENAME support.
888c8d6
    - GIT_GLOB_TO_CMAKE_REGEX: Convert git glob to cmake regex
888c8d6
  + ManageArchive:
888c8d6
    - PACK_SOURCE_CPACK: Pack with CPack
888c8d6
    - PACK_SOURCE_ARCHIVE: Now can specify OUTPUT_FILE.
888c8d6
    - SOURCE_ARCHIVE_CONTENTS_ADD: Add file to source archive.
888c8d6
    - SOURCE_ARCHIVE_CONTENTS_ADD_NO_CHECK: 
888c8d6
      Add file to source archive without checking.
888c8d6
    + ManageDependency: Manage dependencies.
888c8d6
  + ManageRPM: 
888c8d6
    - PACK_RPM: New options: SPEC_IN and SPEC.
888c8d6
    - RPM_SPEC_STRING_ADD: Add a string to SPEC string.
888c8d6
    - RPM_SPEC_STRING_ADD_DIRECTIVE: Add a directive to SPEC string.
888c8d6
    - RPM_SPEC_STRING_ADD_TAG: Add a string to SPEC string.
888c8d6
  + ManageString:
888c8d6
    - STRING_APPEND: Append a string to a variable.
888c8d6
    - STRING_PADDING: Padding the string to specified length
888c8d6
    - STRING_PREPEND: Prepend a string to a variable.
888c8d6
  + ManageTranslation:
888c8d6
    - MANAGE_GETTEXT: 
888c8d6
      + Can specify MSGFMT_OPTIONS and MSGMERGE_OPTIONS
888c8d6
      + Add gettext-devel to BUILD_REQUIRES.
888c8d6
  + ManageVariable:
888c8d6
    - VARIABLE_TO_ARGN: Merge the variable and options to 
888c8d6
      the form of ARGN.
888c8d6
  + Cached variables:
888c8d6
    - RPM_SPEC_CMAKE_FLAG: cmake flags in rpm build.
888c8d6
    - RPM_SPEC_MAKE_FLAG: make flags in rpm build.
888c8d6
    - Changed Modules:
888c8d6
  + ManageArchive:
888c8d6
    - PACK_SOURCE_ARCHIVE: Can now pass either 
888c8d6
      empty, outputDir, or source File. 
888c8d6
  + ManageGConf2: Fixed.
888c8d6
  + ManageString: STRING_SPLIT: New Option: ALLOW_EMPTY
888c8d6
  + ManageRPM
888c8d6
    - Add support of pre, post, and preun
888c8d6
  + ManageVariable:
888c8d6
    - VARIABLE_PARSE_ARGN can now handle multiple-appeared options.
888c8d6
- Changed:
888c8d6
  + CMake policy no longer enforced by default.
888c8d6
  + ManageString: STRING_SPLIT is changed from macro to function,
888c8d6
    so no need to put excessive backslashes.
888c8d6
- Removed:
888c8d6
  + Target after_release_commit and related are no longer required 
888c8d6
    and thus removed.
888c8d6
888c8d6
* Tue Nov 26 2013 Ding-Yi Chen <dchen at redhat.com> - 1.1.6-1
888c8d6
- Enhancement:
888c8d6
  + Fedora version will now automatically updated.
888c8d6
  + New macros:
888c8d6
    - VARIABLE_PARSE_ARGN: Parse the arguments.
888c8d6
  + New scripts: 
888c8d6
    cmake-fedora-koji: Koji utilities.
888c8d6
    cmake-fedora-fedpkg: Fedpkg utilities.
888c8d6
  + Changed scripts:
888c8d6
    koji-build-scratch: fedora_1, fedora_2, 
888c8d6
    epel_1, epel_2 can now be used as build scopes.
888c8d6
  + BODHI_UPDATE_TYPE is no longer required.
888c8d6
  + No need to manual edit project.spec.in
888c8d6
  + ADD_CUSTOM_TARGET_COMMAND now allow "ALL"
888c8d6
- Bug Fixes:
888c8d6
  Resolves: Bug 879141 - Excessive quotation mark for target tag_pre
888c8d6
  Resolves: Bug 992069 - cmake-fedora: FTBFS in rawhide
888c8d6
- Changed Modules
888c8d6
  + ManageUpload:
888c8d6
    - New macros:
888c8d6
      + MANAGE_UPLOAD_TARGET
888c8d6
    - Changed macros:
888c8d6
      + MANAGE_UPLOAD_SCP: parameter fileAlias replaced with targetName
888c8d6
      + MANAGE_UPLOAD_SFTP: parameter fileAlias replaced with targetName 
888c8d6
      + MANAGE_UPLOAD_FEDORAHOSTED: parameter fileAlias replaced with targetName
888c8d6
      + MANAGE_UPLOAD_SOURCEFORGE: parameter fileAlias replaced with targetName
888c8d6
    - Removed macros:
888c8d6
      + MANAGE_UPLOAD_MAKE_TARGET
888c8d6
      + MANAGE_UPLOAD_CMD
888c8d6
- Removed Directory: 
888c8d6
  + <PRJ_DOC_DIR>/examples: as the examples can be found in
888c8d6
    <CMAKE_ROOT>/Templates/fedora
888c8d6
- Removed Variables: 
888c8d6
  + FEDORA_AUTO_KARMA
888c8d6
- Removed Macros:
888c8d6
  + MANAGE_UPLOAD_MAKE_TARGET
888c8d6
  + MANAGE_UPLOAD_CMD
888c8d6
- Removed Targets:
888c8d6
  + bodhi_new: Submit the package to bodhi
888c8d6
  + fedpkg_<tag>_build: Build for tag
888c8d6
  + fedpkg_<tag>_commit: Import, commit and push
888c8d6
888c8d6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
888c8d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
888c8d6
888c8d6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
888c8d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
888c8d6
888c8d6
* Thu Nov 22 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.5-1
888c8d6
- Fedora 18 support.
888c8d6
- Source tarball filename is changed back to name-version-Source.tar.gz
888c8d6
  to avoid confusion between source generate by cmake-fedora
888c8d6
  (which contains ChangeLog and projectName.pot) and tarball generation service from hosting site
888c8d6
  (which does not contain generated files)
888c8d6
- koji-build-scratch: rawhide build target does not always have suffix -candidate.
888c8d6
- README updated.
888c8d6
- TODO updated.
888c8d6
888c8d6
* Fri Aug 17 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.4-1
888c8d6
- Source tarball filename is now name-version.tar.gz instead of name-version-Source.tar.gz
888c8d6
- after_release_commit depends rpm_changelog_prev_update if RPM supported enabled.
888c8d6
- Corrected the 'FORCE' of cmake CACHE
888c8d6
- Update the error messages when cmake-fedora is not installed.
888c8d6
- Fixed target: zanata_push_trans.
888c8d6
- Fixed zanata arguments.
888c8d6
- fedpkg clone is now triggered if the clone directory does not exist when doing the fedpkg_commit,
888c8d6
  it no longer the listed OUTPUT of an ADD_CUSTOM_COMMAND.
888c8d6
- Add target: translations as an universal easy target to generate/update translation files.
888c8d6
888c8d6
* Mon Jul 23 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.2-1
888c8d6
- Fixed after_release_commit
888c8d6
888c8d6
* Mon Jul 23 2012 Ding-Yi Chen <dchen at redhat.com> - 1.0.1-1
888c8d6
- Greatly simplified the modules design and usage.
888c8d6
- Release version are now defined in cmake-fedora.conf
888c8d6
  for easy maintenance.
888c8d6
- Fix the MANAGE_MESSAGE_LEVEL
888c8d6
- koji scratch builds are run only once before tagging.
888c8d6
- CVS support is removed.
888c8d6
- New command: koji-build-scratch for scratch build on all supported
888c8d6
  releases.
888c8d6
- New module: ManageTarget
888c8d6
- New function: SETTING_STRING_GET_VARIABLE
888c8d6
- New macro:
888c8d6
  + ADD_CUSTOM_TARGET_COMMAND
888c8d6
  + STRING_ESCAPE_SEMICOLON
888c8d6
- Macros changed behavior:
888c8d6
  MANAGE_ZANATA: Arguments are changed.
888c8d6
- Target changed: changelog_update are now separate as:
888c8d6
  + changelog_prev_update: Update ChangeLog.prev
888c8d6
  + rpm_changelog_prev_update: Update RPM-ChangeLog.prev
888c8d6
- Command renamed:
888c8d6
  + cmake-fedora-newprj.sh to cmake-fedora-newprj
888c8d6
- Module renamed:
888c8d6
  + ManageReleaseOnFedora to ManageReleaseFedora
888c8d6
  + ManageMaintainerTargets to ManageUpload
888c8d6
  + PackSource to ManageArchive
888c8d6
  + PackRPM to ManageRPM
888c8d6
  + UseGConf to ManageGConf
888c8d6
  + UseDoxygen to ManageAPIDoc
888c8d6
- Function renamed:
888c8d6
  + LOAD_RELEASE_FILE to RELEASE_NOTES_READ_FILE
888c8d6
- Macro renamed:
888c8d6
  + PACK_SOURCE to PACK_SOURCE_ARCHIVE
888c8d6
  + USE_MOCK to RPM_MOCK_BUILD
888c8d6
  + USE_DOXYGEN to MANAGE_APIDOC_DOXYGEN
888c8d6
  + USE_GETTEXT to MANAGE_GETTEXT
888c8d6
  + USE_ZANATA to MANAGE_ZANATA
888c8d6
- Variable renamed: PACK_SOURCE_IGNORE_FILES to SOURCE_ARCHIVE_IGNORE_FILES
888c8d6
- RELEASE_ON_FEDORA: support new tags: "fedora" for current fedora,
888c8d6
  and "epel" for current epel.
888c8d6
- ChangeLog generation rewritten, target version_check no longer need.
888c8d6
- Removed target: version_check
888c8d6
- Variable Removed:
888c8d6
  FEDORA_NEXT_RELEASE
888c8d6
  FEDORA_NEXT_RELEASE_TAGS
888c8d6
  FEDORA_LATEST_RELEASE
888c8d6
  FEDORA_PREVIOUS_RELEASE
888c8d6
888c8d6
* Tue Sep 20 2011 Ding-Yi Chen <dchen at redhat.com> - 0.8.1-1
888c8d6
- Fixed Bug 738958 - cmake-fedora: remove excessive quotation marks for Precompile definition
888c8d6
- Fixed Bug 733540 - cmake-fedora: "" should be read as empty string
888c8d6
- ManageEnvironment: Now defined cmake_policy won't get overridden.
888c8d6
- ManageString: STRING_UNQUOTE is now merely remove quote marks in the beginning and
888c8d6
    end of string. The string will not be changed otherwise.
888c8d6
- UseUninstall has renamed as ManageUninstall
888c8d6
- ManageMaintainerTargets: Reveal MAINTAINER_UPLOAD_COMMAND
888c8d6
- ManageTranslation: Adopt zanata python client 1.3, arguments are redesigned.
888c8d6
  + Change target: from "translations" to "gmo_files"
888c8d6
  + Add targets: zanata_push, zanata_push_trans, zanata_pull_trans
888c8d6
  + Add argument: ALL_FOR_PUSH, ALL_FOR_PUSH_TRANS and ALL_FOR_PULL
888c8d6
  + Add argument: OPTIONS for passing arguments.
888c8d6
- ManageReleaseOnFedora: Now default to build against candidate repos,
888c8d6
  unless _CANDIDATE_PREFERRED is set to "0".
888c8d6
888c8d6
* Thu Aug 18 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.994-1
888c8d6
- Fixed Bug 725615 - cmake-fedora: Use UTC for changelog
888c8d6
- Fixed Bug 725617 - cmake-fedora: target 'tag' should stop when tag file exists.
888c8d6
- Module CompileEnv.cmake is obsoleted by ManageEnvironment.cmake
888c8d6
  because it is what the variable actually store.
888c8d6
- Revised ManageTranslation, now zanata.xml.in can be put to either
888c8d6
  CMAKE_SOURCE_DIR or CMAKE_CURRENT_SOURCE_DIR.
888c8d6
- ManageReleaseOnFedora:
888c8d6
  + New Constants: FEDORA_NEXT_RELEASE_TAGS, FEDORA_SUPPORTED_RELEASE_TAGS.
888c8d6
  + Remove NORAWHIDE, as user can use TAGS to achieve the same.
888c8d6
  + Actually mkdir and clone project if the FedPkg directory is missing.
888c8d6
- ManageTranslation:
888c8d6
  + Fixed zanata.xml path problem
888c8d6
  + Fixed zanata related targets.
888c8d6
- New Variable: CMAKE_FEDORA_TMP_DIR for holding cmake-fedora files.
888c8d6
  + ChangeLog temporary files have moved to this directory.
888c8d6
888c8d6
* Fri Jul 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.1-1
888c8d6
- Target release now depends on upload.
888c8d6
888c8d6
* Fri Jul 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.0-1
888c8d6
- Fixed target: after_release_commit.
888c8d6
- Add "INCLUDE(ManageRelease)" in template
888c8d6
  so new project will not get CMake command "MANAGE_RELEASE"
888c8d6
- Corrected TODO.
888c8d6
- Corrected ChangeLog.prev and SPECS/RPM-ChangeLog.prev.
888c8d6
- By default, the CMAKE_INSTALL_PREFIX is set as '/usr'.
888c8d6
888c8d6
* Wed Jul 06 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.1-1
888c8d6
- Remove f13 from FEDORA_CURRENT_RELEASE_TAGS, as Fedora 13 is end of life.
888c8d6
- ManageMessage: New module.
888c8d6
  + M_MSG: Controllable verbose output
888c8d6
- ManageRelease: New module.
888c8d6
  + MANAGE_RELEASE: Make release by uploading files to hosting services
888c8d6
- Now ManageReleaseOnFedora includes ManageMaintainerTargets
888c8d6
- Modules are shown what they include and included by.
888c8d6
- Now tag depends on koji_scratch_build, while fedpkg_commit master
888c8d6
  (or other primary branch) depends directly on tag.
888c8d6
- MAINTAINER_SETTING_READ_FILE now can either use MAINTAINER_SETTING, or take
888c8d6
  one argument that define maintainer setting file.
888c8d6
- MANAGE_MAINTAINER_TARGETS_UPLOAD no longer require argument hostService,
888c8d6
  It now relies on HOSTING_SERVICES from maintainer setting file.
888c8d6
- Minimum cmake requirement is now raise to 2.6.
888c8d6
- Targets which perform after release now have the prefix "after_release".
888c8d6
888c8d6
* Wed Jul 06 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.1-1
888c8d6
- Remove f13 from FEDORA_CURRENT_RELEASE_TAGS, as Fedora 13 is end of life.
888c8d6
- ManageMessage: New module.
888c8d6
  + M_MSG: Controllable verbose output
888c8d6
- ManageRelease: New module.
888c8d6
  + MANAGE_RELEASE: Make release by uploading files to hosting services
888c8d6
- Now ManageReleaseOnFedora includes ManageMaintainerTargets
888c8d6
- Modules are shown what they include and included by.
888c8d6
- Now tag depends on koji_scratch_build, while fedpkg_commit master
888c8d6
  (or other primary branch) depends directly on tag.
888c8d6
- MAINTAINER_SETTING_READ_FILE now can either use MAINTAINER_SETTING, or take
888c8d6
  one argument that define maintainer setting file.
888c8d6
- MANAGE_MAINTAINER_TARGETS_UPLOAD no longer require argument hostService,
888c8d6
  It now relies on HOSTING_SERVICES from maintainer setting file.
888c8d6
- Minimum cmake requirement is now raise to 2.6
888c8d6
888c8d6
* Wed Jun 08 2011 Ding-Yi Chen <dchen at redhat.com> - 0.6.0-1
888c8d6
- Fixed Bug 684107 - [cmake-fedora] TAGS in USE_FEDPKG is ineffective.
888c8d6
- ManageTranslation:
888c8d6
  + Renamed from UseGettext
888c8d6
  + New Macro: USE_ZANATA() - Zanata support (experiential).
888c8d6
  + New Macro: USE_GETTEXT() - Gettext support.
888c8d6
    This macro merges GETTEXT_CREATE_POT and GETTEXT_CREATE_TRANSLATIONS,
888c8d6
    to simplified the usage and make the macro names more consistent.
888c8d6
- ManageReleaseOnFedora:
888c8d6
  + New Variable: FEDORA_EPEL_RELEASE_TAGS
888c8d6
- Clean up Modules: No unrelated files under Modules/
888c8d6
- Removed debug messages of:
888c8d6
  CMAKE_MAJOR_VERSION, CMAKE_MINOR_VERSION. CMAKE_PATCH_VERSION,
888c8d6
  _cmake_uninstall_in, _koji_tags, _tags.
888c8d6
888c8d6
* Sun Feb 27 2011 Ding-Yi Chen <dchen at redhat.com> - 0.5.0-1
888c8d6
- Macro: RELEASE_ON_FEDORA added.
888c8d6
- Target: release_on_fedora added.
888c8d6
- Now has more informative error message, when cmake-fedora is not installed.
888c8d6
- Fixed UseUninstall
888c8d6
- Fixed Bug 670079 - [cmake-fedora] target "release"
888c8d6
  will not stop when koji build failed
888c8d6
- Fixed Bug 671063 - [cmake-fedora] target "rpmlint"
888c8d6
  should not depend on "koji_scratch_build"
888c8d6
- Protocol for hosting server should now be specified as "[Hosting]_PROTOCOL".
888c8d6
- Refactoring ManageMaintainerTargets.
888c8d6
- fedpkg and koji build for every tags are revealed.
888c8d6
- Now set rawhide as f16, release dists are f15,f14,f13.
888c8d6
- rpm build process is now refined, no unnecessary build.
888c8d6
- Renamed target push_svc_tag to push_post_release.
888c8d6
- Renamed module UseFedpkg to ManageReleaseOnFedora
888c8d6
888c8d6
* Fri Jan 07 2011 Ding-Yi Chen <dchen at redhat.com> - 0.4.0-1
888c8d6
- New target: release
888c8d6
- New target: install_rpms
888c8d6
- ./Module should precedes /usr/share/cmake/Modules, so
888c8d6
  it always use latest modules.
888c8d6
- Fixed Reading a file that contains '\'.
888c8d6
- Added Macro PACK_RPM_GET_ARCH
888c8d6
- Added target install_rpms for bulk rpms installation.
888c8d6
- Target rpm now uses -bb instead of -ba.
888c8d6
- Target rpm now depends on srpm.
888c8d6
- Source version control logic is split out as ManageSourceVersionControl
888c8d6
- Module UseHostingService is renamed as ManageMaintainerTarget
888c8d6
- Macro USE_HOSTING_SERVICE_READ_SETTING_FILE is renamed as
888c8d6
  MAINTAINER_SETTING_READ_FILE
888c8d6
888c8d6
* Sun Dec 19 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.3-1
888c8d6
- Fixed: Support for out-of-source build.
888c8d6
- Fixed: Join the next line if ended with back slash '\'.
888c8d6
- ChangeLog: Now generate from "cmake ." directly.
888c8d6
- changelog: target removed. So it won't do unnecessary rebuild.
888c8d6
888c8d6
* Tue Nov 09 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.2-1
888c8d6
- Fixed: Macro invoked with incorrect arguments for macro named STRING_ESCAPE
888c8d6
  Caused by give and empty string from STRING_TRIM
888c8d6
- Removed: f12 from FEDORA_CURRENT_RELEASE_TAGS
888c8d6
888c8d6
* Mon Nov 08 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.1-1
888c8d6
- SETTING_FILE_GET_VARIABLES_PATTERN:
888c8d6
  Fixed: unable to use relative path problem.
888c8d6
  Fixed: UNQUOTE and NOESCAPE_SEMICOLON can now used together.
888c8d6
888c8d6
* Wed Nov 03 2010 Ding-Yi Chen <dchen at redhat.com> - 0.3.0-1
888c8d6
- New macro: SETTING_FILE_GET_VARIABLES_PATTERN
888c8d6
- New macro: PACK_SOURCE_FILES
888c8d6
- Fixed: Variable lost in SETTING_FILE_GET_ALL_VARIABLES and
888c8d6
  SETTING_FILE_GET_VARABLE.
888c8d6
- Fixed: Variable values won't apply in SETTING_FILE_GET_ALL_VARIABLES
888c8d6
- UseUninstall finds cmake_uninstall.in in additional paths:
888c8d6
  /usr/share/cmake/Modules and /usr/share/cmake/Modules
888c8d6
- Minor improvements in CMakeLists.txt and project.spec.in templates.
888c8d6
888c8d6
* Wed Oct 20 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.4-1
888c8d6
- cmake-fedora-newprj.sh: New option "-e" that extract value from specified
888c8d6
  spec or spec.in.
888c8d6
- Now usage is printed instead of junk output when project_name is not given.
888c8d6
- Source code (whatever is packed) and tarball dependency now checked.
888c8d6
888c8d6
* Sat Oct 16 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.3-1
888c8d6
- Inserted git pull for each fedpkg targets. Reduce the chance of conflict.
888c8d6
- Fixed target: bodhi_new. So it will actually run this command instead of
888c8d6
just showing it.
888c8d6
888c8d6
* Fri Oct 15 2010 Ding-Yi Chen <dchen at redhat.com> - 0.2.2-1
888c8d6
- Add new project building script.
888c8d6
- Build for EL-5, EL-6
888c8d6
- Add el5, el6 build.
888c8d6
- Fixed errors in UseFedpkg.
888c8d6
- Fixed target: tag
888c8d6
- Fixed target: bodhi_new
888c8d6
888c8d6
* Fri Oct 08 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.4-1
888c8d6
- Fixed error in UseFedpkg.
888c8d6
888c8d6
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.2-1
888c8d6
- Removed excess spaces.
888c8d6
888c8d6
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.1-1
888c8d6
- Added koji scratch build target.
888c8d6
- Fixed changelog_update.
db80b84
888c8d6
* Mon Oct 04 2010 Ding-Yi Chen <dchen at redhat.com> - 0.1.0-1
888c8d6
- Initial package.
6d3705b