rpms/bouml/F-7 bouml.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Debarshi Ray (rishi) fedora-extras-commits at redhat.com
Sun Aug 5 03:07:42 UTC 2007


Author: rishi

Update of /cvs/pkgs/rpms/bouml/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16069/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	bouml.spec 
Log Message:
Initial import into F-7.

 Modified Files:
 	import.log F-7/.cvsignore F-7/sources 
 Added Files:
 	F-7/bouml.spec 



--- NEW FILE bouml.spec ---
Summary: UML2 tool box to specify and generate code in C++, Java and IDL
Name: bouml
Version: 2.30.1
Release: 1%{?dist}
License: GPLv2+
Group: Development/Tools
URL: http://bouml.free.fr/
Source0: http://bouml.free.fr/%{name}_%{version}.tar.gz

BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Requires: hicolor-icon-theme

BuildRequires: desktop-file-utils
BuildRequires: qt-devel

%description
BOUML is a Unified Modeling Language editor for Qt. You can use it to create
nearly all of UML diagrams. BOUML can generate code from those diagrams in
C++, Java and IDL, and can also reverse existing code.

The program supports class diagrams, sequence diagrams, collaboration
diagrams, object diagrams, use case diagrams, component diagrams, state
diagrams, activity diagrams, component diagrams and deployment diagrams.

%prep
%setup -q -n %{name}_%{version}

# C++ sources should not have the executable bits.
# chmod 644 src/diagram/DiagramWindow.cpp

%build
# To prevent failure on ppc64 and x86_64.
make %{?_smp_mflags} BOUML_LIB=%{_libdir}/%{name}

%install
rm -rf $RPM_BUILD_ROOT

# To prevent failure on ppc64 and x86_64.
make install BOUML_LIB=%{_libdir}/%{name} DESTDIR=$RPM_BUILD_ROOT

# Symlinks need to be relative.
unlink $RPM_BUILD_ROOT%{_bindir}/projectControl
unlink $RPM_BUILD_ROOT%{_bindir}/projectSynchro
pushd $RPM_BUILD_ROOT%{_bindir}
  ln -s ../%{_lib}/%{name}/projectControl projectControl
  ln -s ../%{_lib}/%{name}/projectSynchro projectSynchro
popd

desktop-file-install --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop

desktop-file-install --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  $RPM_BUILD_ROOT%{_datadir}/applications/projectControl.desktop

desktop-file-install --vendor fedora --delete-original \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  $RPM_BUILD_ROOT%{_datadir}/applications/projectSynchro.desktop

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch  --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_bindir}/projectControl
%{_bindir}/projectSynchro
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/applications/fedora-projectControl.desktop
%{_datadir}/applications/fedora-projectSynchro.desktop
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%{_datadir}/icons/hicolor/16x16/apps/projectControl.png
%{_datadir}/icons/hicolor/16x16/apps/projectSynchro.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/projectControl.png
%{_datadir}/icons/hicolor/32x32/apps/projectSynchro.png
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/48x48/apps/projectControl.png
%{_datadir}/icons/hicolor/48x48/apps/projectSynchro.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/projectControl.png
%{_datadir}/icons/hicolor/64x64/apps/projectSynchro.png

%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*

%changelog
* Sat Aug 04 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.30.1-1
- Version bump to 2.30.1.
- Changed value of License according to Fedora licensing guidelines.
- Executable bits turned off for C++ sources by upstream.
- Application removed from Categories by upstream.

* Thu Aug 02 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.30-1
- Version bump to 2.30.
- Removed Application from Categories.

* Sun Jul 29 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.29.1-3
- Fixed build and install stanza to prevent failure on ppc64 and x86_64.
- Added 'Requires: hicolor-icon-theme'.
- Fixed 'gtk-update-icon-cache' in the post[un] scriptlets.
- Removed 'update-desktop-database' from the post[un] scriptlets.

* Fri Jul 27 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.29.1-2
- Modified the summary.
- Replaced lib with _lib.

* Fri Jul 27 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.29.1-1
- Version bump to 2.29.1.

* Sun Jul 08 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.29-1
- Version bump to 2.29.

* Wed Jun 29 2007 Debarshi Ray <rishi at fedoraproject.org> - 2.27-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bouml/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Aug 2007 18:08:57 -0000	1.1
+++ .cvsignore	5 Aug 2007 03:07:09 -0000	1.2
@@ -0,0 +1 @@
+bouml_2.30.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bouml/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Aug 2007 18:08:57 -0000	1.1
+++ sources	5 Aug 2007 03:07:09 -0000	1.2
@@ -0,0 +1 @@
+9e2044cc3905e66c1b82d1c099fd1431  bouml_2.30.1.tar.gz




More information about the fedora-extras-commits mailing list