brewtarget/brewtarget.spec

105 lines
3.8 KiB
RPMSpec
Raw Normal View History

# I don't see an obvious way to get a tarball by tag from gitorious, so:
%global tag_commit bc8af30bbbfa184c6c6a1f5ce090a74da7fb8c57
2012-11-24 19:51:51 +00:00
Name: brewtarget
Version: 2.1.0
Release: 3%{?dist}
2012-11-24 19:51:51 +00:00
Summary: An open source beer recipe creation tool
Group: Applications/Productivity
License: GPLv3 and WTFPL and LGPLv2
URL: http://www.brewtarget.org
Source0: https://gitorious.org/brewtarget/brewtarget/archive/%{tag_commit}.tar.gz
2012-11-24 19:51:51 +00:00
BuildRequires: cmake
BuildRequires: qt-devel
BuildRequires: qt-webkit-devel
BuildRequires: phonon-devel
BuildRequires: desktop-file-utils
Requires: sqlite
2012-11-24 19:51:51 +00:00
%description
Brewtarget is an open source beer recipe creation tool. It automatically
calculates color, bitterness, and other parameters for you while you drag and
drop ingredients into the recipe. Brewtarget also has many other tools such as
priming sugar calculators, OG correction help, and a unique mash designing tool.
It also can export and import recipes in BeerXML.
%prep
%setup -q -n %{name}-%{name}
2012-11-24 19:51:51 +00:00
%build
%cmake -DDO_RELEASE_BUILD:BOOL=ON
make %{?_smp_mflags}
%install
make VERBOSE=1 INSTALL="install -p" CP="cp -p" DESTDIR=%{buildroot} install
/usr/bin/install -m 0644 -Dp doc/brewtarget.1 %buildroot%{_mandir}/man1/brewtarget.1
desktop-file-validate %buildroot%{_datadir}/applications/%{name}.desktop
%files
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}*
2012-11-24 19:51:51 +00:00
%{_mandir}/man1/brewtarget.1*
%doc CHANGES.markdown README.markdown COPYRIGHT COPYING.GPLv3 COPYING.WTFPL doc/brewtarget-manual.html
2012-11-24 19:51:51 +00:00
%changelog
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-02 10:50:23 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.1.0-2
- Rebuilt for GCC 5 C++11 ABI change
* Wed Nov 12 2014 Pete Travis <me@petetravis.com> - 2.1.0-2
- Update to upstream 2.1.0
- Adds inventory tracking for ingredients
- Folders for organizing recipes
- Recipe parameter sliders
- Various bugfixes, ref http://www.brewtarget.org/changelog.html
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-17 21:28:34 +00:00
* Mon Feb 17 2014 Pete Travis <immanetize@fedoraproject.org> - 2.0.2-1
- Update to version 2.0.2
- Mostly a bugfix release, see http://www.brewtarget.org/changelog.html
* Sat Aug 03 2013 Pete Travis <immanetize@fedoraproject.org> - 2.0.1-2
- Update to version 2.0.1
- Removing patches where integrated upstream
- patch for unversioned docdirs on Fedora releases >= 20
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-24 19:51:51 +00:00
* Sun Nov 18 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.3-4
- Fixing permissions on manpage
* Sat Nov 17 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-3
- Including bundled manpage, updating SPEC
* Fri Nov 16 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-2
- Changes to SPEC file per packaging guidelines.
* Mon Nov 12 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-1
- Initial build of 1.2.5 release
* Mon Nov 12 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-1
- Added patch to correct .desktop file
* Mon Nov 12 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-1
- Added patch to install documentation to appropriate directory
* Mon Nov 12 2012 Pete Travis <immanetize@fedoraproject.org> 1.2.5-1
- Patching to warn if no documentation instead of exit.